egui_dock
egui_dock copied to clipboard
Allow for more than 2 splits per node
Is your feature request related to a problem? Please describe. At the moment, a node can only be split horizontally or vertically once, with a fraction indicating how far apart the two are.
In the scenario where I split horizontally twice, I would love for it to instead split into 3 equally-sized chunks [A | B | C]
, rather than
[A | [B | C]
Describe alternatives you've considered
We could hack around this by twiddling with fraction
values based on the tree as a whole, but it's probably easy enough to migrate into a non-binary tree structure. probably.
Additional context I'm planning to work on this over the weekend, but making an issue for it just incase this is something you're interested in.
~~Closed by #145~~
@Adanos020 In my understanding this PR issue is not closed by #145?
This issue wants to allow more than 2 nodes in the tree children. The PR adds the possibility do disable split in a certain.
@lvaroqui Oh, you're right. Sorry about that!