Ignore:
Timestamp:
2006-01-16T12:39:17+13:00 (18 years ago)
Author:
mdewsnip
Message:

Tidied up the look of the Design pane. Each Design pane screen now has consistent borders, and vertical spacing between elements has been improved.

File:
1 edited

Legend:

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

    r11031 r11038  
    130130        collection_checklist.setListData(collection_checklist_model);
    131131
    132         setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
     132        JPanel collection_checklist_pane = new JPanel();
     133        collection_checklist_pane.setBorder(BorderFactory.createEmptyBorder(5,0,0,0));
     134        collection_checklist_pane.setLayout(new BorderLayout());
     135        collection_checklist_pane.add(new JScrollPane(collection_checklist), BorderLayout.CENTER);
     136
     137        setBorder(BorderFactory.createEmptyBorder(0,5,0,0));
    133138        setLayout(new BorderLayout());
    134139        add(header_panel, BorderLayout.NORTH);
    135         add(new JScrollPane(collection_checklist), BorderLayout.CENTER);
     140        add(collection_checklist_pane, BorderLayout.CENTER);
    136141    }
    137142
Note: See TracChangeset for help on using the changeset viewer.