diff options
author | hop311 <hop3114@gmail.com> | 2024-09-13 00:26:41 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-09-17 22:19:57 +0200 |
commit | c26247464feabe0fbb9d6a8527b242d667faa066 (patch) | |
tree | 6dbafe4337ceb672a6e5972b0155333f73cbf262 /extension/src/openvic-extension/classes/GUILabel.hpp | |
parent | 110a6ad29fb84e4507698897e97aab3f36b24242 (diff) |
Allow tooltips to be as tall as the window + shift them to stay inside ittall-tooltip
Diffstat (limited to 'extension/src/openvic-extension/classes/GUILabel.hpp')
-rw-r--r-- | extension/src/openvic-extension/classes/GUILabel.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/classes/GUILabel.hpp b/extension/src/openvic-extension/classes/GUILabel.hpp index 67981d7..f04e3ab 100644 --- a/extension/src/openvic-extension/classes/GUILabel.hpp +++ b/extension/src/openvic-extension/classes/GUILabel.hpp @@ -74,6 +74,8 @@ namespace OpenVic { GUI::Text const* new_gui_text, GFX::Font::colour_codes_t const* override_colour_codes = nullptr ); + void force_update_lines(); + void set_text(godot::String const& new_text); void add_substitution(godot::String const& key, godot::String const& value); @@ -81,6 +83,7 @@ namespace OpenVic { void clear_substitutions(); void set_horizontal_alignment(godot::HorizontalAlignment new_horizontal_alignment); + godot::Size2 get_base_max_size() const; void set_max_size(godot::Size2 new_max_size); void set_border_size(godot::Size2 new_border_size); void set_auto_adjust_to_content_size(bool new_auto_adjust_to_content_size); |