Changeset 24287

Show
Ignore:
Timestamp:
18.07.2011 19:18:49 (9 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.

Files:
1 modified

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);