Ignore:
Timestamp:
2020-11-28T10:15:15+01:00 (3 years ago)
Author:
GerdP
Message:

fix #18533: changeset manager: tags tab: width of column (almost) not changeable

  • use ReadOnlyTableModel as in PropertiesDialog to allow resizing of column width
  • don't allow reordering of column headers in Changeset dialogs (because content doesn't match header if allowed)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentPanel.java

    r16826 r17371  
    126126        tblContent.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(historyAction.getShortcut().getKeyStroke(), "historyAction");
    127127        tblContent.getActionMap().put("historyAction", historyAction);
     128        tblContent.getTableHeader().setReorderingAllowed(false);
    128129        pnl.add(new JScrollPane(tblContent), BorderLayout.CENTER);
    129130        return pnl;
Note: See TracChangeset for help on using the changeset viewer.