summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2018-09-30 19:01:32 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2018-09-30 19:01:32 +0200
commit88755d28d734ad49ff7f945eb23dafbe03cd4b67 (patch)
treeeb5c01b741da7c917eed8c74a04538a318e4fd04
parent3ee657e7a7ffdcdb1fd46e095fef97622b99e909 (diff)
Add a subtle background and border to unselected tabs in the editor
-rw-r--r--editor/editor_themes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index 39d2f685b6..9e81051dc2 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -478,8 +478,8 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
style_tab_selected->set_bg_color(tab_color);
Ref<StyleBoxFlat> style_tab_unselected = style_tab_selected->duplicate();
- style_tab_unselected->set_draw_center(false);
- style_tab_unselected->set_border_width_all(0);
+ style_tab_unselected->set_bg_color(dark_color_1);
+ style_tab_unselected->set_border_color_all(dark_color_2);
// Editor background
theme->set_stylebox("Background", "EditorStyles", make_flat_stylebox(background_color, default_margin_size, default_margin_size, default_margin_size, default_margin_size));