Open laurent22 opened 5 months ago
The way I understand it, ResizeableLayout.tsx
by default makes every last child within LayoutItem
take remaining width, yes?
I'm affected. For completeness, here are the screenshots. First, when the window is not maximized:
Now when I maximize it (I use an ultrawide monitor):
I agree that the editor panel should always be the flexible one, no matter its position.
Another solution would be to make joplin understand sizes like a % of the full window size, instead of fixed widths. This way, when resizing, it would respect the same ratio and look still comfortable.
With the current app layout, the panel on the right is always the one with a dynamic width. This is fine with the current default layout, but a problem when the user moves the panels and the last one is no longer the editor.
In that case it leads to unexpected behaviour, such as the Outline plugin panel expanding horizontally even though it would be expected to have a fixed width.
To fix this, we should only give the vertical panel that contains the editor a dynamic width. All other panels should have a fixed width.