Changeset 4454


Ignore:
Timestamp:
2003-06-03T13:35:52+12:00 (21 years ago)
Author:
mdewsnip
Message:

Changed buttons from portrait to landscape, to match rearranged MetaEditPane.

File:
1 edited

Legend:

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

    r4427 r4454  
    5454    private JButton update_all;
    5555    static private Dimension LABEL_SIZE = new Dimension(100, 25);
    56     static private Dimension SIZE = new Dimension(400, 305);
     56    static private Dimension SIZE = new Dimension(712, 250);
    5757    // Generic prompt values.
    5858    static public int CONFIRM         =  0;
     
    8888    JLabel filename_label = new JLabel(get("MetaEditPrompt.File"));
    8989    filename_label.setPreferredSize(LABEL_SIZE);
    90     TextFieldLabel filename_field = new TextFieldLabel(Utility.trimCenter(file.getAbsolutePath(), 40));
     90    TextFieldLabel filename_field = new TextFieldLabel(Utility.trimCenter(file.getAbsolutePath(), 120));
    9191    filename_field.setFont(Gatherer.config.getFont("general.tooltip_font", false));
    9292    JPanel element_panel = new JPanel();
     
    165165
    166166    buttons_pane.setBorder(BorderFactory.createEmptyBorder(2,2,2,2));
    167     buttons_pane.setLayout(new GridLayout(4,2,0,0));
     167    buttons_pane.setLayout(new GridLayout(2,4,0,0));
    168168    buttons_pane.add(accumulate);
     169    buttons_pane.add(overwrite);
     170    buttons_pane.add(remove);
     171    buttons_pane.add(skip);
    169172    buttons_pane.add(accumulate_all);
    170     buttons_pane.add(overwrite);
    171173    buttons_pane.add(overwrite_all);
    172     buttons_pane.add(remove);
    173174    buttons_pane.add(remove_all);
    174     buttons_pane.add(skip);
    175175    buttons_pane.add(cancel);
    176176
Note: See TracChangeset for help on using the changeset viewer.