Changeset 16960 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs
- Timestamp:
- 2020-08-29T13:33:25+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java
r16828 r16960 210 210 // 211 211 layerList = new LayerList(model); 212 TableHelper.setFont(layerList, getClass()); 212 213 layerList.setSelectionModel(selectionModel); 213 214 layerList.addMouseListener(new PopupMenuHandler()); … … 919 920 Icon icon = layer.getIcon(); 920 921 if (layerList != null && icon != null) { 921 layerList.setRowHeight(idx, Math.max( 16, icon.getIconHeight()));922 layerList.setRowHeight(idx, Math.max(layerList.getRowHeight(), icon.getIconHeight())); 922 923 } 923 924 selectionModel.setSelectionInterval(idx, idx); -
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r16598 r16960 315 315 private void buildTagsTable() { 316 316 // setting up the tags table 317 TableHelper.setFont(tagTable, getClass()); 317 318 tagData.setColumnIdentifiers(new String[]{tr("Key"), tr("Value")}); 318 319 tagTable.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); … … 339 340 340 341 private void buildMembershipTable() { 342 TableHelper.setFont(membershipTable, getClass()); 341 343 membershipData.setColumnIdentifiers(new String[]{tr("Member Of"), tr("Role"), tr("Position")}); 342 344 membershipTable.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/SelectionTable.java
r15048 r16960 9 9 import javax.swing.ListSelectionModel; 10 10 import javax.swing.SwingUtilities; 11 12 import org.openstreetmap.josm.gui.util.TableHelper; 11 13 12 14 /** … … 32 34 33 35 protected void build() { 36 TableHelper.setFont(this, getClass()); 34 37 setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 35 38 addMouseListener(new DoubleClickAdapter());
Note:
See TracChangeset
for help on using the changeset viewer.