May 24, 2013, 3:26 PM
HBoxLayout issue: NumberFields starts crushed togheter
Hello
I have some number fields in a form panel inside a popup window and the first time that the window show up they are crushed together, when the window is resized they stretch themselves over the whole width of the window.
How can I fix it, that they start already stretched over the whole width of the popup window?
Before:
After:
I have some number fields in a form panel inside a popup window and the first time that the window show up they are crushed together, when the window is resized they stretch themselves over the whole width of the window.
How can I fix it, that they start already stretched over the whole width of the popup window?
Before:
After:
<ext:FieldContainer runat="server" Layout="HBoxLayout">
<FieldDefaults LabelAlign="Top" />
<Items>
<ext:NumberField runat="server" ID="NumberField1" FieldLabel="Worst Value" Name="WorstValue" Flex="1" AllowBlank="false" />
<ext:NumberField runat="server" ID="NumberField2" FieldLabel="Best Value" Name="BestValue" Flex="1" AllowBlank="false" />
<ext:NumberField runat="server" ID="NumberField3" FieldLabel="Step" Name="Step" Flex="1" MinValue="0" />
<ext:NumberField runat="server" ID="NumberField4" FieldLabel="Sufficient" Name="PassingValue" Flex="1" />
</Items>
</ext:FieldContainer>