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:
Rémi Verschelde 2024-04-23 19:12:03 +02:00
commit d7abefd0a3
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -762,10 +762,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 {