1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    376
    Vote Rating
    0
    zaccret is on a distinguished road

      0  

    Default [CLOSED] FF : Margins issue in a FlowLayouted container

    [CLOSED] FF : Margins issue in a FlowLayouted container


    Env : Windows XP, Firefox 2/3, gxt 1.0beta3
    I can't set the margins in a flow-layouted container on Firefox. No issue with IE6. If I compare using Firebug and IE Toolbar, the margin: 15px is present is the style attribute of the div container (id="my-1") on IE6, it is not on FF.
    Here is the code :
    Code:
        public void onModuleLoad() {
            final Viewport viewport = new Viewport();
            ContentPanel formPanel = new ContentPanel();
            formPanel.setHeading("My panel");
            formPanel.setWidth(350);
            formPanel.setHeight(100);
            TabPanel tabPanel = new TabPanel();
            TabItem tabItem = new TabItem("form");
            FlowLayout layout = new FlowLayout();
            layout.setMargin(15);
            tabItem.setLayout(layout);
            tabItem.add(formPanel);
            tabPanel.add(tabItem);
            viewport.add(tabPanel);
            RootPanel.get().add(viewport);
        }
    Last edited by darrellmeyer; 12 Jun 2008 at 6:37 AM. Reason: more simple code

  2. #2
    Ext User
    Join Date
    Apr 2008
    Posts
    376
    Vote Rating
    0
    zaccret is on a distinguished road

      0  

    Default


    Bug still present in beta5 with FF2 and 3.

  3. #3
    Ext User
    Join Date
    Apr 2008
    Posts
    376
    Vote Rating
    0
    zaccret is on a distinguished road

      0  

    Default


    Note that when I omit the HTML 4.01 Transitional DOCTYPE declaration (passing to Quirks mode), the result is slightly better, but I get a bad bottom margin or padding on Firefox.

  4. #4
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,241
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar