mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Merge pull request #49795 from timothyqiu/label-min-size
Update min size on Label::set_text
This commit is contained in:
commit
06a0d033a1
@ -453,6 +453,7 @@ void Label::set_text(const String &p_string) {
|
||||
visible_chars = get_total_character_count() * percent_visible;
|
||||
}
|
||||
update();
|
||||
minimum_size_changed();
|
||||
}
|
||||
|
||||
void Label::set_text_direction(Control::TextDirection p_text_direction) {
|
||||
|
Loading…
Reference in New Issue
Block a user