Changeset 17293 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2020-11-03T22:47:54+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/display/LafPreference.java
r17245 r17293 16 16 import javax.swing.JLabel; 17 17 import javax.swing.JList; 18 import javax.swing.JSeparator; 18 19 import javax.swing.JSpinner; 19 20 import javax.swing.ListCellRenderer; … … 128 129 panel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); 129 130 131 // First the most important setting "Look and Feel" that changes the most 132 panel.add(new JLabel(tr("Look and Feel")), GBC.std().insets(20, 0, 0, 0)); 133 panel.add(GBC.glue(5, 0), GBC.std().fill(GBC.HORIZONTAL)); 134 panel.add(lafCombo, GBC.eol().fill(GBC.HORIZONTAL)); 135 panel.add(new JSeparator(), GBC.eol().fill(GBC.HORIZONTAL).insets(0, 10, 0, 10)); 136 130 137 // Show splash screen on startup 131 138 showSplashScreen.setToolTipText(tr("Show splash screen at startup")); … … 211 218 panel.add(spinZoomRatio, GBC.eol()); 212 219 213 panel.add(new JLabel(tr("Look and Feel")), GBC.std().insets(20, 0, 0, 0));214 panel.add(GBC.glue(5, 0), GBC.std().fill(GBC.HORIZONTAL));215 panel.add(lafCombo, GBC.eol().fill(GBC.HORIZONTAL));216 220 panel.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.BOTH)); 217 221
Note:
See TracChangeset
for help on using the changeset viewer.