1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Update min size on Label::set_text

This commit is contained in:
Haoyu Qiu
2021-06-21 19:54:40 +08:00
parent 9da7f06900
commit a57a51750a

View File

@@ -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) {