JetUML icon indicating copy to clipboard operation
JetUML copied to clipboard

Make it possible to reoder tabs in the diagram editor

Open prmr opened this issue 3 years ago • 0 comments

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.

prmr avatar Jan 20 '22 00:01 prmr

The JavaFX TabPane.TabDragPolicy.REORDER turns out to be very 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.

prmr avatar May 02 '22 15:05 prmr

Let's try it with JavaFX 18...

prmr avatar May 10 '22 20:05 prmr