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 0bede04 + 3f5339a commit 45b427fCopy full SHA for 45b427f
editor/gui/editor_bottom_panel.cpp
@@ -57,7 +57,7 @@ void EditorBottomPanel::_on_tab_changed(int p_idx) {
57
}
58
59
void EditorBottomPanel::_theme_changed() {
60
- Ref<StyleBox> bottom_tabbar_style = get_theme_stylebox("tabbar_background", "BottomPanel")->duplicate();
+ Ref<StyleBox> bottom_tabbar_style = EditorNode::get_singleton()->get_editor_theme()->get_stylebox("tabbar_background", "BottomPanel")->duplicate();
61
bottom_tabbar_style->set_content_margin(SIDE_RIGHT, bottom_hbox->get_minimum_size().x + bottom_tabbar_style->get_content_margin(SIDE_LEFT));
62
add_theme_style_override("tabbar_background", bottom_tabbar_style);
63
0 commit comments