diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-12-06 18:28:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 18:28:46 +0100 |
commit | 75ac048e4bc672b9dedf434d71465e6c2703eaec (patch) | |
tree | 1c21fb4dd562d9c58c420bd5fecf74c73cf5a611 /scene/gui/link_button.cpp | |
parent | 586c1997896fcdbb1c92d488425d7f4b4659b76d (diff) | |
parent | ea7cc1dea93e0003182be2941d10124043c30edf (diff) | |
download | redot-engine-75ac048e4bc672b9dedf434d71465e6c2703eaec.tar.gz |
Merge pull request #55662 from KoBeWi/update_minimum_size_changed_to_update_minimum_size
Diffstat (limited to 'scene/gui/link_button.cpp')
-rw-r--r-- | scene/gui/link_button.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/gui/link_button.cpp b/scene/gui/link_button.cpp index c3201186ea..9856247b7c 100644 --- a/scene/gui/link_button.cpp +++ b/scene/gui/link_button.cpp @@ -52,7 +52,7 @@ void LinkButton::set_text(const String &p_text) { text = p_text; xl_text = atr(text); _shape(); - minimum_size_changed(); + update_minimum_size(); update(); } @@ -149,7 +149,7 @@ void LinkButton::_notification(int p_what) { xl_text = atr(text); _shape(); - minimum_size_changed(); + update_minimum_size(); update(); } break; case NOTIFICATION_LAYOUT_DIRECTION_CHANGED: { @@ -157,7 +157,7 @@ void LinkButton::_notification(int p_what) { } break; case NOTIFICATION_THEME_CHANGED: { _shape(); - minimum_size_changed(); + update_minimum_size(); update(); } break; case NOTIFICATION_DRAW: { |