Changeset 24287


Ignore:
Timestamp:
2011-07-18T19:18:49+12:00 (13 years ago)
Author:
ak19
Message:

John Rose and Luigi requested the button pane in GLI's DownloadPane that houses the Download, Clear Cache, Server Information and Preferences buttons to be resizable.

File:
1 edited

Legend:

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

    r20924 r24287  
    142142    JPanel button_pane = new JPanel();
    143143        button_pane.setComponentOrientation(Dictionary.getOrientation());
    144     button_pane.setLayout(new FlowLayout(FlowLayout.CENTER,20,5));
     144    button_pane.setLayout(new GridLayout(1,4)); // GridLayout so button pane resizes with window-width
    145145    button_pane.setBorder(BorderFactory.createEtchedBorder());
    146146    button_pane.add(clear_cache_button);
Note: See TracChangeset for help on using the changeset viewer.