Fix TabContainer minimum size

This commit is contained in:
Mounir Tohami 2024-09-18 01:41:54 +00:00
parent 922ae7e7b5
commit 2ff61e0252

View file

@ -909,7 +909,7 @@ Size2 TabContainer::get_minimum_size() const {
for (int i = 0; i < controls.size(); i++) { for (int i = 0; i < controls.size(); i++) {
Control *c = controls[i]; Control *c = controls[i];
if (!c->is_visible_in_tree() && !use_hidden_tabs_for_min_size) { if (!c->is_visible() && !use_hidden_tabs_for_min_size) {
continue; continue;
} }