Reduce vertical space by going borderless #4648
Replies: 4 comments 23 replies
-
In general I like this idea, but it may not work well on Linux. There are a lot of desktop environments (e.g. Gnome, KDE, Xfce, i3, ...) that on top also allow configuration on the window titlebar (placement of close at the right/left, hide minimize, hide maximize). This would lead to some further design topics and more OS dependencies. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Godot 4 will have multi-screen support, to take into account. |
Beta Was this translation helpful? Give feedback.
-
On KDE I always use |
Beta Was this translation helpful? Give feedback.
-
The problem
Currently the editor has an top bar with a lot of empty space. I believe this elements can be moved somewhere else to better use the vertical space while in editor.
An existing proposal
There is this proposal #492 which tries to merge the tabs and the menus in one line:
Unfortunately, this only works in the default layout, as soon as you start moving the panels around you will find many issues when implementing this solution. A user highlighted this issue showing their preferred layout:
So, if we have to keep that line of content in a separated row we can't take the space from the other elements already existing in the editor.
A new proposal
Instead of merging those two, the obvious solution would be to get rid of the "border" of the window and go with an integrated border-less mode. Applications like Figma, Spotify, Firefox or VSCode already do this:
Integrating the system minimize, maximize or close with the menu and run options could save vertical space.
This could look something like this:
(side by side)
Further more, in systems like Mac or some Linux distributions, you can take advantage of the native menu bar and move the options there. This should be already be possible thanks to godotengine/godot#59410
Don't look too close to the examples and mockups I made since they are not pixel perfect, just a demonstration.
This borderless style should be optional since there are many desktop environments that won't be able to deal with this kind of layout. There should also be options to choose where to place the close/minimize/maximize options (left or right).
Let me know if you have any questions or if you have any issues with this approach, I'm happy to keep updating the discussion answering any question that you have.
(Of course, after publishing and searching again I found another related discussion: #4132 adding it as a reference)
Beta Was this translation helpful? Give feedback.
All reactions