-
-
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
[4.2.1] TabContainer with a large font draws gap between tabs and panels #90332
Comments
Can reproduce on 4.2.1.stable (tho for me it is also happening in the editor with your MRP) |
@AeioMuch thanks for checking latest versions. I haven't been able to spend time trying to build from source on the Steam Deck, but I had a feeling it might've been an accidental regression that could already be fixed in the next release. I'll try to do that and confirm on my end. There must be something about my system/gfx driver that causes the Editor to fix itself. I do see the separation in the editor, but only for a split second. No matter since it's probably not an issue anymore. |
|
I might not have searched closed issues just because 4.2.1 is latest stable under releases. I'm used to keeping things open until official release, but looks like it is based on when the PR merges here. Will keep in mind for future. In any case, I can confirm in 4.2.2 RC2 that it is fixed on my side. Thanks again. |
Tested versions
Reproducible in v4.2.1.stable.flathub [b09f793], another user on Discord also mentions v4.2 but that it didn't occur in a previous version (they did not specify the version number that worked).
Discord forum link for reference: https://discord.com/channels/212250894228652034/1187192074815156364
System information
Arch Linux (Steam Deck), Godot 4.2.1 Stable
Issue description
When I make the font size of a TabContainer's tab buttons large, running the scene draws a gap between the tab buttons and their panel. However, the gap is not present anywhere in the Editor (Theme Editor, Theme Preview, 2D Scene).
I expect the tabs to look uniform whether I am running the scene (using F6) or viewing in the Editor.
Another quirk of the Editor related to this bug: Whenever I reload the Theme Editor Preview, or hide and re-open the Theme Editor panel itself, the tabs are visually separated from the panels for a split second and then they correct themselves and connect to the panels.
Steps to reproduce
Minimal reproduction project (MRP)
The attached MRP has a single scene, built as described in the reproduction:
In Editor, tab buttons are connected. Pressing F6, tab buttons are separated. The large the font, the larger the separation seems to be (but may also be dependent on the font geometry?)
TabContainerSpacing.zip
The text was updated successfully, but these errors were encountered: