Allow defining control minimum size in theme #5604
timothyqiu
started this conversation in
GUI
Replies: 1 comment 2 replies
-
Setting the content margin would probably be the way to go here, but I had to remove it while working on godotengine/godot#45607 because it looked bad on icon-only buttons (which need to be square). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Many style guides recommend setting a minimum width for buttons, so buttons with short texts have a uniform look.
A negative example is:
We can currently set minimum width for individual controls, but not in theme. For styleboxes, we can only set content margin.
Beta Was this translation helpful? Give feedback.
All reactions