Dec 23, 2012, 7:49 AM
[FIXED] [#82] - Bug Report - CheckBox.InputWidth (Code Sample in Razor)
Hi,
If you set the CheckBox.InputWidth > 13 (i.e. 90), you will 4 checkboxes.
I discovered this when I was setting the FormPanel.FieldDefaults.InputWidth to 90.
(Currently work around is to manually set the InputWidth for the Checkbox back to 13).
For Example:
If you set the CheckBox.InputWidth > 13 (i.e. 90), you will 4 checkboxes.
I discovered this when I was setting the FormPanel.FieldDefaults.InputWidth to 90.
(Currently work around is to manually set the InputWidth for the Checkbox back to 13).
For Example:
Html.X().FormPanel()
.FieldDefaults(fd =>
{
fd.LabelWidth = 105;
fd.InputWidth = 90;
fd.LabelAlign = LabelAlign.Right;
})
.Border(false)
.AnimCollapse(false)
.ID("myform")
.BodyPadding(10)
.Items(
Html.X().FieldContainer().Layout(LayoutType.HBox).Items(
Html.X().NumberFieldFor(m => m.BuyingPower),
Html.X().NumberFieldFor(m => m.Qty),
Html.X().CheckboxFor(m => m.LimitLegs))
)
Last edited by Daniil; Dec 24, 2012 at 11:27 AM.
Reason: [OPEN] [#82]