ForPanelFor Column Layout not working in IE

  1. #1

    ForPanelFor Column Layout not working in IE

    Hi,

    I made a FormPanelFor with column layout, to have a row of all fields, back-returning when there is no more space available in the container.

    I've used this code:

    items.Add(Html.X().FormPanelFor(m => m).Layout(LayoutType.Column).Padding(5)
                                    .BodyPadding(5)
                                    .DefaultAnchor("100%")
                                    .Width(300)
                                                //.ItemID("formPanel")
                                    .Buttons(buttons =>
    
                                        .
    .
    .
    .
    
                                                {
                                                    listeners.Click.Handler = "Ext.net.Mask.show({ msg : 'Loading data...' });";
                                                })
    
    
                                            )
                                        )
    
                                    );

    This is the correct result in Google Chrome:
    Click image for larger version. 

Name:	formpanelfor_layout.png 
Views:	82 
Size:	10.7 KB 
ID:	5374

    In IE it does not work in the same way: it puts every field in a new row, not "inline".

    Is this a bug or have I made an error in my code?

    Thanks.
  2. #2
    ColumnLayout assumes that each item has Width or ColumnWidth. Did you set it?
  3. #3
    Well, I had a problem with the parent panel, being too small to contain the child.
    I don't know why the difference between chrome and ie..

    Thanks.

Similar Threads

  1. [CLOSED] layout issue when using RowLayout within column layout
    By Daly_AF in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 11, 2012, 2:40 PM
  2. vbox layout is not working on image button
    By robertgan in forum 1.x Help
    Replies: 1
    Last Post: Feb 27, 2012, 9:17 AM
  3. Replies: 1
    Last Post: Jul 27, 2011, 10:19 AM
  4. [CLOSED] Form validation not working with column LayOut
    By Shanti in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 08, 2011, 4:07 PM
  5. [CLOSED] vbox layout inside column layout
    By craig2005 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 04, 2011, 2:44 PM

Posting Permissions