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.
TabContainer
TabBar
1 parent 4a44078 commit f6e26d0Copy full SHA for f6e26d0
scene/gui/tab_container.cpp
@@ -1167,6 +1167,7 @@ TabContainer::TabContainer() {
1167
tab_bar = memnew(TabBar);
1168
SET_DRAG_FORWARDING_GCDU(tab_bar, TabContainer);
1169
add_child(tab_bar, false, INTERNAL_MODE_FRONT);
1170
+ tab_bar->set_use_parent_material(true);
1171
tab_bar->set_anchors_and_offsets_preset(Control::PRESET_TOP_WIDE);
1172
tab_bar->connect("tab_changed", callable_mp(this, &TabContainer::_on_tab_changed));
1173
tab_bar->connect("tab_clicked", callable_mp(this, &TabContainer::_on_tab_clicked));
0 commit comments