From 88755d28d734ad49ff7f945eb23dafbe03cd4b67 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 30 Sep 2018 19:01:32 +0200 Subject: [PATCH] Add a subtle background and border to unselected tabs in the editor --- editor/editor_themes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 39d2f685b6f..9e81051dc2f 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -478,8 +478,8 @@ Ref create_editor_theme(const Ref p_theme) { style_tab_selected->set_bg_color(tab_color); Ref 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));