Merge pull request #91038 from timothyqiu/tab-container-toggle-icon-text
Fix TabContainer using wrong content rect after tab title update
This commit is contained in:
commit
d7abefd0a3
@ -762,10 +762,8 @@ void TabContainer::set_tab_title(int p_tab, const String &p_title) {
|
|||||||
child->set_meta("_tab_name", p_title);
|
child->set_meta("_tab_name", p_title);
|
||||||
}
|
}
|
||||||
|
|
||||||
_update_margins();
|
_repaint();
|
||||||
if (!get_clip_tabs()) {
|
queue_redraw();
|
||||||
update_minimum_size();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
String TabContainer::get_tab_title(int p_tab) const {
|
String TabContainer::get_tab_title(int p_tab) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user