diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-05 10:10:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-05 10:10:38 +0100 |
commit | c5a832e0873e5d6c722f7fddb3fc206d00d9c7f1 (patch) | |
tree | d5dcc8a0ed9a5d75568e92a82cad76fc764abc9c /editor | |
parent | 8b5d6d4cb28789e7ebacdf5adee9ec77bd34f3e8 (diff) | |
parent | e714f5e56e1c581e448ee683b2f1a48e9edd0e05 (diff) |
Merge pull request #57648 from KoBeWi/shrunken_tb
Rework TextureButton stretch
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_help.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index dfc95fb676..96c0f3a209 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -2007,7 +2007,7 @@ FindBar::FindBar() { hide_button = memnew(TextureButton); add_child(hide_button); hide_button->set_focus_mode(FOCUS_NONE); - hide_button->set_expand(true); + hide_button->set_ignore_texture_size(true); hide_button->set_stretch_mode(TextureButton::STRETCH_KEEP_CENTERED); hide_button->connect("pressed", callable_mp(this, &FindBar::_hide_bar)); } |