Changeset 7411 in josm
- Timestamp:
- 2014-08-16T01:44:56+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java
r7254 r7411 362 362 } 363 363 364 /** 365 * Adds a new {@code JLabel} to the given panel. 366 * @param p The panel 367 * @param label The text label 368 */ 364 369 public static void addLabel(JPanel p, String label) { 365 p.add(new JLabel(label), GBC.eol() );370 p.add(new JLabel(label), GBC.eol().fill(GBC.HORIZONTAL)); 366 371 } 367 372 } … … 387 392 } 388 393 if (url != null) { 389 p.add(new UrlLabel(url, locale_text, 2), GBC.eol().insets(0, 10, 0, 0) );394 p.add(new UrlLabel(url, locale_text, 2), GBC.eol().insets(0, 10, 0, 0).fill(GBC.HORIZONTAL)); 390 395 } 391 396 return false;
Note:
See TracChangeset
for help on using the changeset viewer.