mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 06:03:09 +00:00
Merge pull request #97132 from WhalesState/tab-container-minimum-size
Fix `TabContainer` minimum size
This commit is contained in:
commit
2f91184d8a
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user