Changeset 17865 in josm for trunk/src/org
- Timestamp:
- 2021-05-06T18:03:12+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/preferences
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java
r17734 r17865 261 261 this.preferenceSetting = preferencePanel.getTabPreferenceSetting(); 262 262 GuiHelper.setDefaultIncrement(this); 263 setBorder(BorderFactory.createEmptyBorder()); 263 264 } 264 265 -
trunk/src/org/openstreetmap/josm/gui/preferences/display/ColorPreference.java
r17768 r17865 375 375 panel.add(colorFilter, GBC.eol().insets(0, 0, 0, 5).fill(HORIZONTAL)); 376 376 JScrollPane scrollpane = new JScrollPane(colors); 377 scrollpane.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));378 377 panel.add(scrollpane, GBC.eol().fill(BOTH)); 379 378 JPanel buttonPanel = new JPanel(new GridBagLayout()); -
trunk/src/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreference.java
r17314 r17865 98 98 99 99 p.add(new JPanel(), GBC.eol().fill(BOTH)); 100 return GuiHelper.setDefaultIncrement(new JScrollPane(p)); 100 JScrollPane scrollPane = new JScrollPane(p); 101 scrollPane.setBorder(BorderFactory.createEmptyBorder()); 102 return GuiHelper.setDefaultIncrement(scrollPane); 101 103 } 102 104 -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
r17648 r17865 21 21 import javax.swing.JOptionPane; 22 22 import javax.swing.JPanel; 23 import javax.swing.JScrollPane; 23 24 import javax.swing.JSeparator; 24 25 … … 370 371 unitsCombo.setSelectedItem(SystemOfMeasurement.getSystemOfMeasurement()); 371 372 372 projPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));373 373 projPanel.add(new JLabel(tr("Projection method")), GBC.std().insets(5, 5, 0, 5)); 374 374 projPanel.add(GBC.glue(5, 0), GBC.std().fill(GBC.HORIZONTAL)); … … 414 414 projPanel.add(GBC.glue(1, 1), GBC.std().fill(GBC.HORIZONTAL).weight(1.0, 1.0)); 415 415 416 gui.createPreferenceTab(this).add(projPanel.getVerticalScrollPane(), GBC.std().fill()); 416 JScrollPane scrollPane = projPanel.getVerticalScrollPane(); 417 scrollPane.setBorder(BorderFactory.createEmptyBorder()); 418 gui.createPreferenceTab(this).add(scrollPane, GBC.std().fill()); 417 419 418 420 selectedProjectionChanged(pc); -
trunk/src/org/openstreetmap/josm/gui/preferences/validator/ValidatorTestsPreference.java
r12846 r17865 15 15 import javax.swing.JLabel; 16 16 import javax.swing.JPanel; 17 import javax.swing.JScrollPane; 17 18 18 19 import org.openstreetmap.josm.data.preferences.sources.ValidatorPrefHelper; … … 90 91 } 91 92 93 JScrollPane scrollPane = GuiHelper.embedInVerticalScrollPane(testPanel); 94 scrollPane.setBorder(BorderFactory.createEmptyBorder()); 92 95 gui.getValidatorPreference().addSubTab(this, tr("Tests"), 93 GuiHelper.embedInVerticalScrollPane(testPanel),96 scrollPane, 94 97 tr("Choose tests to enable")); 95 98 }
Note:
See TracChangeset
for help on using the changeset viewer.