Apr 16, 2013, 6:21 PM
[CLOSED] [#212] Problem on FormPanel's default anchor after updating from SVN
After updating from SVN, i found an issue on FormPanel's default anchor when FormPanel's AutoScroll property is set to true.
As it's possible to see in the image presented above, the anchor is not honored and it looks like that the width of the Scroll was "reserved".
I would like to know whether it's a bug.
Thanks in advance
As it's possible to see in the image presented above, the anchor is not honored and it looks like that the width of the Scroll was "reserved".
<!DOCTYPE html>
<html>
<body>
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:FormPanel Title="Ext.Net" Margin="10" BodyPadding="5" Width="300" Height="200" AutoScroll="true"
runat="server">
<FieldDefaults LabelAlign="Top" />
<Defaults>
<ext:Parameter Name="anchor" Value="100%" Mode="Value" />
</Defaults>
<Items>
<ext:TextField FieldLabel="Field 1" runat="server" />
<ext:TextField FieldLabel="Field 2" runat="server" />
<ext:TextField FieldLabel="Field 3" runat="server" />
</Items>
</ext:FormPanel>
</body>
</html>
To overcome this issue, it's necessary to remove FormPanel's default anchor, as shown below:<!DOCTYPE html>
<html>
<body>
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:FormPanel Title="Ext.Net" Margin="10" BodyPadding="5" Width="300" Height="200" AutoScroll="true"
runat="server">
<FieldDefaults LabelAlign="Top" />
<Items>
<ext:TextField FieldLabel="Field 1" runat="server" />
<ext:TextField FieldLabel="Field 2" runat="server" />
<ext:TextField FieldLabel="Field 3" runat="server" />
</Items>
</ext:FormPanel>
</body>
</html>
With approach it's possible to get the following result:I would like to know whether it's a bug.
Thanks in advance
Last edited by Baidaly; May 30, 2013 at 6:41 AM.
Reason: [CLOSED]