Changeset 4120 in josm
- Timestamp:
- 2011-06-05T13:28:03+02:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java
r3995 r4120 348 348 ); 349 349 tfRole.setEnabled(memberTable.getSelectedRowCount() > 0); 350 memberTable.setRowHeight(tfRole.getPreferredSize().height); 350 351 SideButton btnApply = new SideButton(setRoleAction); 351 352 btnApply.setPreferredSize(new Dimension(20,20)); … … 425 426 selectionTable = new SelectionTable(selectionTableModel, new SelectionTableColumnModel(memberTableModel)); 426 427 selectionTable.setMemberTableModel(memberTableModel); 428 selectionTable.setRowHeight(tfRole.getPreferredSize().height); 427 429 JScrollPane pane = new JScrollPane(selectionTable); 428 430 pnl.add(pane, BorderLayout.CENTER); -
trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java
r3530 r4120 351 351 // create the table cell editor and set it to key and value columns 352 352 // 353 setTagCellEditor(new TagCellEditor()); 353 TagCellEditor tmpEditor = new TagCellEditor(); 354 setRowHeight(tmpEditor.getEditor().getPreferredSize().height); 355 setTagCellEditor(tmpEditor); 354 356 } 355 357
Note:
See TracChangeset
for help on using the changeset viewer.