Skip to content
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

Distraction-free mode could include hiding the bottom panel. #9141

Open
Torguen opened this issue Feb 20, 2024 · 3 comments
Open

Distraction-free mode could include hiding the bottom panel. #9141

Torguen opened this issue Feb 20, 2024 · 3 comments

Comments

@Torguen
Copy link

Torguen commented Feb 20, 2024

Describe the project you are working on

It's not for a project.

Describe the problem or limitation you are having in your project

When I switch between the 2D editor and the script editor I want to hide the bottom panel when I have the script editor active, but then when I switch to the 2D editor I want the panel to return to its state, this is a pain to do manually.

Distraction-free mode will also include automatic hiding of the bottom panel when the script editor is visible.
Failing that, you could add an option to godot to do this automatically.
The bottom panel will be hidden when the script editor is activated and will return to its previous state when the 2D editor is activated.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

When you switch to the script editor, distraction-free mode will hide the bottom panel.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

No

If this enhancement will not be used often, can it be worked around with a few lines of script?

idk

Is there a reason why this should be core and not an add-on in the asset library?

...

@Calinou
Copy link
Member

Calinou commented Feb 20, 2024

This was an intentional change made back in 3.2.3, so that it's possible to do some work while in the distraction-free mode.

If you want more control over what to hide while in distraction-free mode, I feel we should provide individual shortcuts/buttons to hide the left/right dock and bottom panel: #1441

@Robert-K
Copy link

Robert-K commented Aug 15, 2024

I mainly use the distraction free mode to see more of my code. Out of everything that could be hidden, the bottom panel is the worst offender when it comes to hiding code as it takes from the script view's height.
More annoyingly, it reopens everytime I run the game :(
I feel like there's some room for improvement here.

@kitbdev
Copy link

kitbdev commented Aug 15, 2024

@Robert-K There is an editor setting that can prevent the bottom panel from opening when running the game, run/bottom_panel/action_on_play.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants