[CLOSED] [#212] Problem on FormPanel's default anchor after updating from SVN

  1. #1

    [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.

    Click image for larger version. 

Name:	err9.jpg 
Views:	30 
Size:	27.2 KB 
ID:	6035
    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:
    Click image for larger version. 

Name:	err10.jpg 
Views:	23 
Size:	22.3 KB 
ID:	6036


    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]
  2. #2
    Hello!

    I wouldn't consider this as a bug. But we will investigate it.

    Thank you!
  3. #3
    Thank you Baidaly. Please keep posted.
  4. #4
    Hello,

    I think it should not reserve space by default. Also setting up ReserveScrollbar="false" explicitly doesn't help. I reported to Sencha.
    http://www.sencha.com/forum/showthread.php?261493
  5. #5
    My report duplicates another one.
    http://www.sencha.com/forum/showthread.php?260123

    It is [OPEN].

    Created an Issue to track this defect.
    https://github.com/extnet/Ext.NET/issues/212

    Thank you for the report.
    Last edited by Daniil; May 31, 2013 at 1:15 PM.
  6. #6
    You're welcome.
  7. #7
    The issue appears to be fixed in the SVN trunk. Please update.
  8. #8
    Thank both of you

Similar Threads

  1. [FIXED] [#214] Problem updating SVN 2.1.1
    By slonati_adv in forum Bugs
    Replies: 11
    Last Post: May 30, 2013, 6:48 AM
  2. [CLOSED] Apply default Fields properties in FormPanel
    By Digital.Dynamics in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 05, 2013, 4:03 AM
  3. [CLOSED] [1.0] Problem updating dataview
    By alemonnier in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 16, 2010, 7:18 AM
  4. [CLOSED] anchor multifield resize problem
    By yobnet in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 16, 2010, 12:03 PM
  5. Problem with updating grid panel
    By Nagaraj K Hebbar in forum 1.x Help
    Replies: 0
    Last Post: May 09, 2009, 12:52 PM

Posting Permissions