Fix TabContainer not updating content rect after changing tab title
This commit is contained in:
parent
7abe0c6014
commit
91918e8cb7
1 changed files with 2 additions and 4 deletions
|
@ -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 a new issue