Changeset 15780 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2020-01-26T20:10:41+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/AdvancedPreference.java
r15779 r15780 6 6 7 7 import java.awt.Dimension; 8 import java.awt.GridBagLayout; 8 9 import java.awt.event.ActionEvent; 9 10 import java.awt.event.ActionListener; … … 161 162 JPanel p = gui.createPreferenceTab(this); 162 163 164 final JPanel txtFilterPanel = new JPanel(new GridBagLayout()); 165 p.add(txtFilterPanel, GBC.eol().fill(GBC.HORIZONTAL)); 163 166 txtFilter = new JosmTextField(); 164 167 JLabel lbFilter = new JLabel(tr("Search:")); 165 168 lbFilter.setLabelFor(txtFilter); 166 p.add(lbFilter);167 p.add(txtFilter, GBC.eol().fill(GBC.HORIZONTAL));169 txtFilterPanel.add(lbFilter, GBC.std().insets(0, 0, 5, 0)); 170 txtFilterPanel.add(txtFilter, GBC.eol().fill(GBC.HORIZONTAL)); 168 171 txtFilter.getDocument().addDocumentListener(new DocumentListener() { 169 172 @Override
Note:
See TracChangeset
for help on using the changeset viewer.