Ignore:
Timestamp:
2004-03-30T14:55:48+12:00 (20 years ago)
Author:
kjdon
Message:

fixed some more static label sizes and deleted a lot of commented out stuff

File:
1 edited

Legend:

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

    r6770 r7151  
    6464    extends ModalDialog {
    6565
    66     /** The default size of a label. */
    67     static final private Dimension LABEL_SIZE = new Dimension(150, 25);
    6866    /** The default size for the dialog. */
    6967    static final private Dimension SIZE = new Dimension(600, 450);
     
    115113    JPanel extension_pane = new JPanel();
    116114    JLabel extension_label = new JLabel();
    117     extension_label.setPreferredSize(LABEL_SIZE);   
    118115    extension_field = new NonWhitespaceField();
    119116
     
    170167    // Layout
    171168    extension_pane.setBorder(BorderFactory.createEmptyBorder(2,0,2,0));
    172     extension_pane.setLayout(new BorderLayout());
     169    extension_pane.setLayout(new BorderLayout(5,0));
    173170    extension_pane.add(extension_label, BorderLayout.WEST);
    174171    extension_pane.add(extension_field, BorderLayout.CENTER);
Note: See TracChangeset for help on using the changeset viewer.