Ignore:
Timestamp:
2009-01-12T14:21:28+13:00 (15 years ago)
Author:
kjdon
Message:

set the ComponentOrientation for a few things, for RTL gli

Location:
gli/trunk/src/org/greenstone/gatherer/gui
Files:
3 edited

Legend:

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

    r18370 r18372  
    175175            mode_pane.add(tree_pane,JSplitPane.RIGHT);
    176176            mode_pane.add(options_scroll_pane,JSplitPane.LEFT);
    177             mode_pane.setDividerLocation(1);
     177            mode_pane.setDividerLocation(1-TREE_SIZE.width);
    178178        }
    179179       
  • gli/trunk/src/org/greenstone/gatherer/gui/ExportAsPrompt.java

    r18370 r18372  
    171171       
    172172    details_label = new JLabel(Dictionary.get("DeleteCollectionPrompt.Collection_Details"));
    173    
     173    details_label.setComponentOrientation(Dictionary.getOrientation());
    174174
    175175    instructions_textarea = new JTextArea(Dictionary.get("ExportAsPrompt.Instructions"));
     
    249249    //list = new CheckList(true);
    250250    list = new JList(getCollectionListModel());
     251    list.setComponentOrientation(Dictionary.getOrientation());
    251252    list_label = new JLabel(Dictionary.get("DeleteCollectionPrompt.Collection_List"));
    252253    list_label.setComponentOrientation(Dictionary.getOrientation());
  • gli/trunk/src/org/greenstone/gatherer/gui/Preferences.java

    r18370 r18372  
    348348    // Layout
    349349    program_pane.setLayout(new BorderLayout());
    350     program_pane.add(program_label, BorderLayout.LINE_END);
     350    program_pane.add(program_label, BorderLayout.LINE_START);
    351351    program_pane.add(program_field, BorderLayout.CENTER);
    352352
Note: See TracChangeset for help on using the changeset viewer.