Changeset 18969 in osm for applications/editors/josm/plugins/osmarender/src/org
- Timestamp:
- 2009-12-06T10:55:55+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java
r18922 r18969 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.GridBagLayout; 5 6 import java.awt.event.ActionEvent; 6 7 import java.io.BufferedReader; … … 13 14 import java.util.Set; 14 15 16 import javax.swing.BorderFactory; 17 import javax.swing.Box; 15 18 import javax.swing.JLabel; 16 19 import javax.swing.JMenuItem; 17 20 import javax.swing.JOptionPane; 21 import javax.swing.JPanel; 18 22 import javax.swing.JTextField; 19 23 … … 124 128 private JTextField firefox = new JTextField(10); 125 129 public void addGui(PreferenceDialog gui) { 126 gui.map.add(new JLabel(tr("osmarender options")), GBC.eol().insets(0,5,0,0)); 127 gui.map.add(new JLabel(tr("Firefox executable")), GBC.std().insets(10,5,5,0)); 128 gui.map.add(firefox, GBC.eol().insets(0,5,0,0).fill(GBC.HORIZONTAL)); 130 final JPanel panel = new JPanel(new GridBagLayout()); 131 panel.setBorder(BorderFactory.createEmptyBorder( 0, 0, 0, 0 )); 132 133 panel.add(new JLabel(tr("Firefox executable")), GBC.std().insets(10,5,5,0)); 134 panel.add(firefox, GBC.eol().insets(0,5,0,0).fill(GBC.HORIZONTAL)); 135 panel.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.BOTH)); 129 136 firefox.setText(Main.pref.get("osmarender.firefox")); 137 gui.mapcontent.addTab(tr("Osmarender"), panel); 130 138 } 131 139 public boolean ok() {
Note:
See TracChangeset
for help on using the changeset viewer.