Aug 31, 2016, 4:07 PM
[CLOSED] Label width in form-layout
Is there a way to force a Label to use all the available width, without setting a static width?
@{
var x = Html.X();
}
@(
x.Panel()
.Width(300)
.Layout(LayoutType.Form)
.Items(
x.Label()
.Text("This is a label")
,
x.TextField()
.FieldLabel("Text")
)
)
Last edited by fabricio.murta; Oct 10, 2016 at 8:59 PM.