-
-
Notifications
You must be signed in to change notification settings - Fork 23.5k
Reduce outer inspector margins #112504
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
base: master
Are you sure you want to change the base?
Reduce outer inspector margins #112504
Conversation
|
@groud I found that the extra margin is coming from the focus stylebox. While it can be reduced, it can't be reduced all the way to zero because then there will be no space to draw the focus border: If it can't be reduced to zero then it's probably better to leave at current value because a 2px misalignment would be much more triggering than a regular padding that looks intentional. If focus wasn't an issue then I'd say aligning those would require slightly increasing the margin of the dock (around everything including header) because otherwise that loss of inner space is starting to get noticeable and it's starting to look a bit heavy:
|
|
Well to align things maybe we could also add some padding around the header part, and maybe compensate by reducing whole dock padding accordingly ? Then we can adjust everything with the dock's padding.
True. |
@passivestar Are you saying that the visuals on the second screenshot you attached are bad? I was looking for a PR like this because ever since I started working with Godot I was irked by the unnecessary extra margin around many of the UI elements. It's very noticeable if you're working on a laptop.
|
Aligning those is good but the dock could use a few more pixels of horizontal padding
You don't need a PR to reduce all paddings at once, there's a "Base Spacing" editor setting that you can use. But it shouldn't be too crammed by default |
9b06e08 to
b066dd9
Compare







Reduces inspector margins leaving the same outer gap in modern theme as it is in classic. Should fix #112284