Ignore:
Timestamp:
2008-12-26T14:35:15+13:00 (15 years ago)
Author:
kjdon
Message:

interface updated to display right to left for rtl languages. This code is thanks to Amin Hejazi. It seems to be only partially complete. Amin was working with Greenstone 3 so might have missed some panels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/branches/rtl-gli/src/org/greenstone/gatherer/gui/Filter.java

    r13531 r18297  
    8989    public Filter(DragTree tree, ArrayList others) {
    9090    super();
     91        this.setComponentOrientation(Dictionary.getOrientation());
    9192    if (others == null) {
    9293        others = new ArrayList();
     
    114115    }
    115116    label = new JLabel(Dictionary.get("Filter.Filter_Tree"));
     117        label.setComponentOrientation(Dictionary.getOrientation());
     118        label.setComponentOrientation(org.greenstone.gatherer.Dictionary.getOrientation());
    116119    combobox.setToolTipText(Dictionary.get("Collection.Filter_Tooltip"));
    117120   
     
    123126    setBorder(BorderFactory.createEmptyBorder(2,2,2,2));
    124127    setLayout(new BorderLayout());
    125     add(label, BorderLayout.WEST);
     128    add(label, BorderLayout.LINE_START);
    126129    add(combobox, BorderLayout.CENTER);
    127130    }
Note: See TracChangeset for help on using the changeset viewer.