Replies: 2 comments 2 replies
-
The default is a StyleBoxFlat, but with non-default parameters. The default StyleBoxFlat is an opaque gray box with no borders or rounded corners. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a theme with a custom StyleBox, but noted that I lost the nice selection edge on focus around my buttons, even though I made my StyleBoxes based on the default values of StyleBoxFlat.
Default theme and styleboxes
Custom theme and styleboxes (just changed the font and minor params)
I understand that default values are set to make sense codewise, and may differ from the default values used for Godot's default theme.
Is there a way to reset a StyleBox to these defaults then? Is the default even a StyleBoxFlat, or another type or StyleBox?
For now, I'll manualy re-add borders...
Beta Was this translation helpful? Give feedback.
All reactions