Changeset 7601 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2014-10-05T22:30:57+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java
r7556 r7601 438 438 */ 439 439 protected JPanel buildSelectionTablePanel() { 440 JPanel pnl = new JPanel( );441 pnl.setLayout(new BorderLayout());440 JPanel pnl = new JPanel(new BorderLayout()); 441 MemberRoleCellEditor ce = (MemberRoleCellEditor)memberTable.getColumnModel().getColumn(0).getCellEditor(); 442 442 selectionTable = new SelectionTable(selectionTableModel, new SelectionTableColumnModel(memberTableModel)); 443 443 selectionTable.setMemberTableModel(memberTableModel); 444 selectionTable.setRowHeight(tfRole.getPreferredSize().height); 445 JScrollPane pane = new JScrollPane(selectionTable); 446 pnl.add(pane, BorderLayout.CENTER); 444 selectionTable.setRowHeight(ce.getEditor().getPreferredSize().height); 445 pnl.add(new JScrollPane(selectionTable), BorderLayout.CENTER); 447 446 return pnl; 448 447 }
Note:
See TracChangeset
for help on using the changeset viewer.