Skip to content

Commit

Permalink
Merge pull request #97132 from WhalesState/tab-container-minimum-size
Browse files Browse the repository at this point in the history
Fix `TabContainer` minimum size
  • Loading branch information
akien-mga committed Sep 18, 2024
2 parents 0f27e78 + 2ff61e0 commit 2f91184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/gui/tab_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ Size2 TabContainer::get_minimum_size() const {
for (int i = 0; i < controls.size(); 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;
}

Expand Down

0 comments on commit 2f91184

Please sign in to comment.