mirror of
https://github.com/godotengine/godot.git
synced 2025-01-06 17:37:18 +08:00
Fix TabContainer not updating content rect after changing tab title
This commit is contained in:
parent
7abe0c6014
commit
91918e8cb7
@ -760,10 +760,8 @@ void TabContainer::set_tab_title(int p_tab, const String &p_title) {
|
||||
child->set_meta("_tab_name", p_title);
|
||||
}
|
||||
|
||||
_update_margins();
|
||||
if (!get_clip_tabs()) {
|
||||
update_minimum_size();
|
||||
}
|
||||
_repaint();
|
||||
queue_redraw();
|
||||
}
|
||||
|
||||
String TabContainer::get_tab_title(int p_tab) const {
|
||||
|
Loading…
Reference in New Issue
Block a user