prmr / JetUML

A desktop application for fast UML diagramming.
GNU General Public License v3.0
625 stars 125 forks source link

Make it possible to reoder tabs in the diagram editor #455

Open prmr opened 2 years ago

prmr commented 2 years ago

This is a one line change in EditorFrame:

public EditorFrame(Stage pMainStage, Optional<File> pOpenWith) 
{
    ...
    TabPane tabPane = new TabPane();
    tabPane.setTabDragPolicy(TabPane.TabDragPolicy.REORDER);

Update: Unfortunately this JavaFX feature is buggy. Tabs get stuck (impossible to open), it's impossible to close the last tab, etc. We'll revert this one for now in the hopes the feature becomes more stable.