Feb 26, 2013, 2:00 PM
[CLOSED] [#153] FieldContainer LabelAlign "Top" with AnchorLayout
Hi,
I am currently on ExtJS version 4.2.0.489 and I am having problems with FieldContainer when its LabelAlign property is set to "Top" and LayoutConfig property set to "Anchor". I can't seem to anchor the component inside the FieldContainer to 100%. Setting the width explicitly doesn't change anything either.
I am currently on ExtJS version 4.2.0.489 and I am having problems with FieldContainer when its LabelAlign property is set to "Top" and LayoutConfig property set to "Anchor". I can't seem to anchor the component inside the FieldContainer to 100%. Setting the width explicitly doesn't change anything either.
<html>
<head id="Head1" runat="server">
</head>
<body>
<form id="Form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" ScriptMode="Debug" Theme="Gray"
DisableViewState="true" />
<ext:Panel runat="server" Height="500" Width="500">
<LayoutConfig>
<ext:AnchorLayoutConfig>
</ext:AnchorLayoutConfig>
</LayoutConfig>
<Items>
<ext:FieldContainer runat="server" FieldLabel="Combo Box" LabelAlign="Top" Anchor="100%">
<LayoutConfig>
<ext:AnchorLayoutConfig>
</ext:AnchorLayoutConfig>
</LayoutConfig>
<Items>
<ext:ComboBox runat="server" Anchor="100%">
</ext:ComboBox>
</Items>
</ext:FieldContainer>
</Items>
</ext:Panel>
</form>
</body>
</html>
Last edited by Baidaly; Mar 15, 2013 at 2:43 AM.
Reason: [CLOSED]