summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorDaniel J. Ramirez <djrmuv@gmail.com>2017-08-21 21:10:12 -0500
committerDaniel J. Ramirez <djrmuv@gmail.com>2017-08-21 21:10:12 -0500
commit1f90f5ed4c767271df9fbbad01594db172f34f3c (patch)
treee0ffc8428c92ba0dbd1941d2b09875c356ead876 /editor
parent00a26f512c0357aa02ff44130e0ea6751ddc5cd9 (diff)
Do not use old styles for tab buttons
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_themes.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index 9f6416f4e6..92b0fce6f9 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -424,6 +424,8 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
theme->set_stylebox("SceneTabFG", "EditorStyles", make_flat_stylebox(title_color_hl, 10, 5, 10, 5));
theme->set_stylebox("SceneTabBG", "EditorStyles", make_empty_stylebox(6, 5, 6, 5));
theme->set_icon("close", "Tabs", theme->get_icon("GuiClose", "EditorIcons"));
+ theme->set_stylebox("button_pressed", "Tabs", style_menu);
+ theme->set_stylebox("button", "Tabs", style_menu);
// Separators (no separators)
theme->set_stylebox("separator", "HSeparator", make_line_stylebox(separator_color, border_width));