We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5935356 + f6e26d0 commit e45cc68Copy full SHA for e45cc68
scene/gui/tab_container.cpp
@@ -1173,6 +1173,7 @@ TabContainer::TabContainer() {
1173
tab_bar = memnew(TabBar);
1174
SET_DRAG_FORWARDING_GCDU(tab_bar, TabContainer);
1175
add_child(tab_bar, false, INTERNAL_MODE_FRONT);
1176
+ tab_bar->set_use_parent_material(true);
1177
tab_bar->set_anchors_and_offsets_preset(Control::PRESET_TOP_WIDE);
1178
tab_bar->connect("tab_changed", callable_mp(this, &TabContainer::_on_tab_changed));
1179
tab_bar->connect("tab_clicked", callable_mp(this, &TabContainer::_on_tab_clicked));
0 commit comments