Ignore:
Timestamp:
2005-06-03T14:45:24+12:00 (19 years ago)
Author:
mdewsnip
Message:

Removed the Dimension objects from the Utility class, as part of tidying it up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/SearchTypeManager.java

    r9907 r10008  
    5050 */
    5151public class SearchTypeManager
    52     extends DOMProxyListModel {
    53    
     52    extends DOMProxyListModel
     53{
     54    static final private Dimension LABEL_SIZE = new Dimension(150, 25);
     55
    5456    static final public String[] SEARCH_TYPES = {  "plain" , "form"};
    5557    static final public String[] BUILD_TYPES = {  "lucene", "mgpp" };
     
    194196
    195197        build_type_combobox = new GComboBox(BUILD_TYPES);
    196         build_type_combobox.setPreferredSize(Utility.LABEL_SIZE);
     198        build_type_combobox.setPreferredSize(LABEL_SIZE);
    197199        build_type_combobox.setBackgroundNonSelectionColor(Configuration.getColor("coloring.editable_background", false));
    198200        build_type_combobox.setBackgroundSelectionColor(Configuration.getColor("coloring.collection_selection_background", false));
     
    243245        Dictionary.registerText(search_type_label, "CDM.SearchTypeManager.SearchType_Selection");
    244246        search_type_combobox = new GComboBox(SEARCH_TYPES);
    245         search_type_combobox.setPreferredSize(Utility.LABEL_SIZE);
     247        search_type_combobox.setPreferredSize(LABEL_SIZE);
    246248        search_type_combobox.setBackgroundNonSelectionColor(Configuration.getColor("coloring.editable_background", false));
    247249        search_type_combobox.setBackgroundSelectionColor(Configuration.getColor("coloring.collection_selection_background", false));
Note: See TracChangeset for help on using the changeset viewer.