-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow moving the editor's bottom panel to the right #36040
Allow moving the editor's bottom panel to the right #36040
Conversation
95e42d7
to
29b6222
Compare
Update: reduz would prefer not to modify SplitContainer for internal usage like I'm currently doing. Instead, he said using a GridContainer node would be preferable. Unfortunately, I haven't gotten a SplitContainer -> GridContainer replacement to work for the main editor viewport. Also, if we go for the GridContainer route, we'll have to implement split dragging functionality into it, which sounds difficult to do right. Therefore, I'm not sure what to do about this at this point. The only other alternative I see would be to remove the VSplitContainer for an HSplitContainer on user demand, but doing so requires manipulating the scene tree a fair bit in C++ (on top of handling signal reconnections). Edit: Modifying SplitContainer for internal usage is no longer required for the 4.x version of this PR thanks to #64724 🙂 |
29b6222
to
f3aabc4
Compare
f3aabc4
to
03095e0
Compare
03095e0
to
29eb27d
Compare
29eb27d
to
0b6f073
Compare
0b6f073
to
b754c54
Compare
b754c54
to
0e437a7
Compare
Do you think godotengine/godot-proposals#3558 (comment) could be a viable solution for allowing dynamic orientation switching for containers? |
I'm not a fan of this. It defeats the purpose of the bottom panel, which is useful for panels whose visibility can be quickly toggled. The problem with the bottom panel is that it's being used for things that don't work well there. IMO it would be better to turn these panels into docks, which are hidden when not required. |
Yes, definitely. I'm in favor of that proposal 🙂 |
Which things are those, out of curiosity? |
The two examples that come to my mind right now are Shader and Texture Region. My main problem with those two being in the bottom panel is that I need to resize the panel every time because I need more vertical space. IMO something like Texture Region should be a floating dock that's displayed when clicking a button in the inspector (I think this would also improve discoverability). |
Rebased and tested again, it works as expected. |
0e437a7
to
abfb742
Compare
An optimized and grid-aligned SVG in case this PR makes the light of the day :)
|
This lets people make better use of their display if it's wide enough. Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
abfb742
to
03fd4ed
Compare
|
master
version of #53643.This lets people make better use of their display if it's wide enough.
There's a shortcut to toggle the bottom panel's position: Shift + F10. Let me know if another combination would be more appropriate.
This is a WIP and needs some changes before it can be merged:
Change the button's tooltip after moving the bottom panel to the right.We could also investigate making the panel movable to the left, but I think this is better left for a future pull request.
This partially addresses #26229 (and probably a few other issues I can't find right now).
Preview