Changeset 19050 in josm for trunk/src/org/openstreetmap/josm/gui/download/PlaceSelection.java
- Timestamp:
- 2024-04-22T20:59:26+02:00 (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/PlaceSelection.java
r18805 r19050 7 7 import java.awt.Component; 8 8 import java.awt.Dimension; 9 import java.awt.GridBagConstraints; 9 10 import java.awt.GridBagLayout; 10 11 import java.awt.event.ActionEvent; … … 106 107 107 108 lpanel.add(new JLabel(tr("Choose the server for searching:")), GBC.std(0, 0).weight(0, 0).insets(0, 0, 5, 0)); 108 lpanel.add(serverComboBox, GBC.std(1, 0).fill(G BC.HORIZONTAL));109 lpanel.add(serverComboBox, GBC.std(1, 0).fill(GridBagConstraints.HORIZONTAL)); 109 110 String s = Config.getPref().get("namefinder.server", SERVERS[0].name); 110 111 for (int i = 0; i < SERVERS.length; ++i) { … … 118 119 cbSearchExpression.setToolTipText(tr("Enter a place name to search for")); 119 120 cbSearchExpression.getModel().prefs().load(HISTORY_KEY); 120 lpanel.add(cbSearchExpression, GBC.std(1, 1).fill(G BC.HORIZONTAL));121 122 panel.add(lpanel, GBC.std().fill(G BC.HORIZONTAL).insets(5, 5, 0, 5));121 lpanel.add(cbSearchExpression, GBC.std(1, 1).fill(GridBagConstraints.HORIZONTAL)); 122 123 panel.add(lpanel, GBC.std().fill(GridBagConstraints.HORIZONTAL).insets(5, 5, 0, 5)); 123 124 SearchAction searchAction = new SearchAction(); 124 125 JButton btnSearch = new JButton(searchAction); … … 495 496 return this; 496 497 SearchResult sr = (SearchResult) value; 497 switch (column) {498 switch (column) { 498 499 case 0: 499 500 setText(sr.getName());
Note:
See TracChangeset
for help on using the changeset viewer.