Mar 28, 2016, 9:45 PM
[CLOSED] HideLabel doesn't work as expected
If one (not all) field has HideLabel=true then it will not stretch the field to fit the entire width. But if both (all) fields has HideLabel, then all fields are stretched. In earlier versions it was possible to hide single fieldlabels and have those fields streched.
Html.X().Panel()
.Layout(LayoutType.Form)
.Items(
Html.X().TextField()
.FieldLabel("Field1")
.HideLabel(true)
,
Html.X().TextField()
.FieldLabel("Field2")
.HideLabel(false)
)
Also .LabelWidth doesn't work here.
Html.X().Panel()
.Layout(LayoutType.Form)
.Items(
Html.X().TextField()
.FieldLabel("Field1")
.HideLabel(true)
,
Html.X().TextField()
.FieldLabel("Field2")
.HideLabel(false)
)
Also .LabelWidth doesn't work here.
Last edited by fabricio.murta; Mar 29, 2016 at 2:03 PM.