Replies: 2 comments 20 replies
|
Hi Stefan. This is a perfect use case for Allotment (it's based on VS Code after all) so it definitely should work. However, as you've discovered, it doesn't. Evenly distributing the space between the panes feels like a good default. It's how the VS Code editor panes behave. And as you point out, the code does look like it should do this. I'll aim to fix this next opportunity I have, probably tomorrow. I'll let you know when I publish an updated version. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Uh oh!
There was an error while loading. Please reload this page.
Hello John,
I am creating an editor and want to add a new Allotment.Pane dynamically from an array. However, doing so will render the new pane with the minimum size only (30px). When I double click on the sash, the pane is resized correctly. Is there any way to force this? I looked into the code and it seems adding a new pane should distribute the panes correctly. Any idea?
Thanks,
Stefan
All reactions