Changeset 7156


Ignore:
Timestamp:
2004-03-30T17:11:51+12:00 (20 years ago)
Author:
kjdon
Message:

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

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
2 edited

Legend:

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

    r6842 r7156  
    109109    }
    110110    label = new JLabel();
    111     //label.setPreferredSize(SIZE);
    112111    Dictionary.setText(label, "Filter.Filter_Tree");
    113112    // Add listeners.
  • trunk/gli/src/org/greenstone/gatherer/mem/MetadataEditorManager.java

    r6861 r7156  
    8282    static final private Dimension ADD_OR_EDIT_ATTRIBUTE_SIZE = new Dimension(600,325);
    8383    static final private Dimension ADD_OR_EDIT_VALUE_SIZE = new Dimension(600,440);
    84     static final private Dimension LABEL_SIZE = new Dimension(100,30);
     84    static final private Dimension COMPONENT_SIZE = new Dimension(300,30);
    8585    static final private Dimension SIZE = new Dimension(800,480);
    8686    static final private String BLANK = "blank";
     
    211211    JLabel set_name_label = new JLabel();
    212212    set_name_label.setOpaque(false);
    213     //set_name_label.setPreferredSize(LABEL_SIZE);
    214213    Dictionary.setText(set_name_label, "MEM.Name");
    215214    set_name = new JLabel();
     
    240239    JLabel element_name_label = new JLabel();
    241240    element_name_label.setOpaque(false);
    242     //element_name_label.setPreferredSize(LABEL_SIZE);
    243241    Dictionary.setText(element_name_label, "MEM.Name");
    244242    element_name = new JLabel();
     
    284282    JLabel profile_name_label = new JLabel();
    285283    profile_name_label.setOpaque(false);
    286     //profile_name_label.setPreferredSize(LABEL_SIZE);
    287284    Dictionary.setText(profile_name_label, "MEM.Name");
    288285    profile_name = new JLabel();
     
    313310    JLabel attribute_label = new JLabel();
    314311    attribute_label.setOpaque(false);
    315     //attribute_label.setPreferredSize(LABEL_SIZE);
    316312    Dictionary.setText(attribute_label, "MEM.Attribute");
    317313
    318314    JLabel element_label = new JLabel();
    319315    element_label.setOpaque(false);
    320     //element_label.setPreferredSize(LABEL_SIZE);
    321316    Dictionary.setText(element_label, "MEM.Element");
    322317
    323318    JLabel file_label = new JLabel();
    324319    file_label.setOpaque(false);
    325     //file_label.setPreferredSize(LABEL_SIZE);
    326320    Dictionary.setText(file_label, "MEM.File");
    327321
    328322    JLabel set_label = new JLabel();
    329323    set_label.setOpaque(false);
    330     //set_label.setPreferredSize(LABEL_SIZE);
    331324    Dictionary.setText(set_label, "MEM.Set");
    332325
    333326    JLabel value_label = new JLabel();
    334327    value_label.setOpaque(false);
    335     //value_label.setPreferredSize(LABEL_SIZE);
    336328    Dictionary.setText(value_label, "MEM.Value");
    337329
     
    679671        JPanel center_pane = new JPanel();
    680672        center_pane.setOpaque(false);
    681         value = new ComboArea(Dictionary.get("MEM.Values"), LABEL_SIZE);
     673        value = new ComboArea(Dictionary.get("MEM.Values"), COMPONENT_SIZE);
    682674        value.setOpaque(false);
    683675
Note: See TracChangeset for help on using the changeset viewer.