Ignore:
Timestamp:
2009-01-12T13:04:29+13:00 (15 years ago)
Author:
kjdon
Message:

committed code submitted by Amin Hedjazi for making the GLI right to left. I worked on this code on the rtl-gli branch, then merged the branch back to the trunk at revision 18368. The branch code was slightly different in a couple of places where it shouldn't have been. So don't use the branch code next time. Start a new branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/FormatPane.java

    r16680 r18370  
    7373        }
    7474        JPanel side_panel = new JPanel ();
     75        side_panel.setComponentOrientation(Dictionary.getOrientation());
    7576        side_panel.setLayout (new BorderLayout ());
    7677        remove (tree_pane);
    7778        side_panel.add (tree_pane, BorderLayout.CENTER);
    7879        JPanel preview_pane = new JPanel ();
     80        preview_pane.setComponentOrientation(Dictionary.getOrientation());
     81       
    7982        preview_pane.setLayout (new BorderLayout ());
    8083        preview_pane.setBorder (BorderFactory.createEmptyBorder (5,0,0,0));
     
    103106        side_panel.add (preview_pane, BorderLayout.SOUTH);
    104107       
    105         add (side_panel, BorderLayout.WEST);
     108        add (side_panel, BorderLayout.LINE_START);
    106109    }
    107110   
Note: See TracChangeset for help on using the changeset viewer.