Changeset 17293 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2020-11-03T22:47:54+01:00 (4 years ago)
Author:
Klumbumbus
Message:

see #7548 - Move "Look an Feel" combobox to the top

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/display/LafPreference.java

    r17245 r17293  
    1616import javax.swing.JLabel;
    1717import javax.swing.JList;
     18import javax.swing.JSeparator;
    1819import javax.swing.JSpinner;
    1920import javax.swing.ListCellRenderer;
     
    128129        panel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
    129130
     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
    130137        // Show splash screen on startup
    131138        showSplashScreen.setToolTipText(tr("Show splash screen at startup"));
     
    211218        panel.add(spinZoomRatio, GBC.eol());
    212219
    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));
    216220        panel.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.BOTH));
    217221
Note: See TracChangeset for help on using the changeset viewer.