Changeset 5873
- Timestamp:
- 2003-11-18T15:29:00+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/OptionsPane.java
r5726 r5873 85 85 static private int IMPORT = 1; 86 86 static private Dimension LABEL_SIZE = new Dimension(180, 25); 87 static private Dimension LOG_SIZE = new Dimension(610, 360);88 /** The minimum size of a options pane, to prevent refresh problems around the bottom of shorter panes. */89 static private Dimension PANE_SIZE = new Dimension(610, 350);90 87 static private Dimension ROW_SIZE = new Dimension(610, 25); 91 88 static private Dimension SPINNER_SIZE = new Dimension(100, 25); … … 111 108 pane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 112 109 int build_argument_count = build_options.getBuildArgumentCount(); 113 pane.set PreferredSize(new Dimension(ROW_SIZE.width, ROW_SIZE.height * build_argument_count));110 pane.setLayout(new GridLayout(build_argument_count, 1, 5, 5)); 114 111 for(int i = 0; i < build_argument_count; i++) { 115 112 // Retrieve the argument so we know how to format the control. … … 131 128 pane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 132 129 int import_argument_count = build_options.getImportArgumentCount(); 133 pane.set PreferredSize(new Dimension(ROW_SIZE.width, ROW_SIZE.height * import_argument_count));130 pane.setLayout(new GridLayout(import_argument_count, 1, 5, 5)); 134 131 for(int i = 0; i < import_argument_count; i++) { 135 132 // Retrieve the argument so we know how to format the control.
Note:
See TracChangeset
for help on using the changeset viewer.