Results 1 to 2 of 2

Thread: [CLOSED] Collapse btn of BorderLayout and AccordionLayout render problems under FF

  1. #1

    Default [CLOSED] Collapse btn of BorderLayout and AccordionLayout render problems under FF

    Firefox and I imagine any gecko based broswer as well doesn't render the collapse buttons properly. Instead of being at the end of the same line as the heading, they are at the beginning of the line above. Please see attached images for results.

    GXT version: 1.1
    GWT version: 1.5.2
    Web mode
    Browsers tested:
    - Firefox 3.0.3 under Linux: faulty
    - Midiori under Linux (webkit based): renders correctly
    - Firefox 3.0.3 under Leopard: faulty
    - Safari 3.1.2 under Leopard (webkit based): renders correctly
    Sample code to reproduce the problem:
    package test.client;
    import com.extjs.gxt.ui.client.Style.LayoutRegion;
    import com.extjs.gxt.ui.client.util.Margins;
    import com.extjs.gxt.ui.client.widget.ContentPanel;
    import com.extjs.gxt.ui.client.widget.Viewport;
    import com.extjs.gxt.ui.client.widget.layout.AccordionLayout;
    import com.extjs.gxt.ui.client.widget.layout.BorderLayout;
    import com.extjs.gxt.ui.client.widget.layout.BorderLayoutData;
    public class Test implements EntryPoint {
      public void onModuleLoad() {
        Viewport v = new Viewport();
        v.setLayout(new BorderLayout());
        ContentPanel west = new ContentPanel();
        BorderLayoutData westData = new BorderLayoutData(LayoutRegion.WEST, 200);
        westData.setMargins(new Margins(5));
        v.add(west, westData);
        west.setLayout(new AccordionLayout());
        ContentPanel forums = new ContentPanel();
        ContentPanel settings = new ContentPanel();
        ContentPanel centre = new ContentPanel();
        BorderLayoutData centreData = new BorderLayoutData(LayoutRegion.CENTER);
        v.add(centre, centreData);
    1. Firefox 3.0.3 under Linux
    2. Midori under Linux
    3. Side-by-side view of Firefox 3.0.3 and Safari 3.1.2 under Leopard
    Attached Images Attached Images

  2. #2


    Please mark this invalid.

    For future references, here's what caused the problem: a 1.6 VM. Somehow the gwt compiler under a 1.6 VM emits code firefox doesn't like, switching to a 1.5 VM solved the problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts