From 9f6f7e0fcf2b59677ee45a4e6040ea3322894904 Mon Sep 17 00:00:00 2001 From: volzhs Date: Fri, 4 Aug 2017 23:51:13 +0900 Subject: [PATCH] Fix label align of button in editor Fix #9927 --- editor/editor_themes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index df16de947e0..38e00646319 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -238,7 +238,7 @@ Ref create_editor_theme() { theme->set_stylebox("panel", "TabContainer", style_content_panel); theme->set_stylebox("Content", "EditorStyles", style_content_panel_vp); - Ref style_button_type = make_flat_stylebox(dark_color_1, 4, 4, 6, 4); + Ref style_button_type = make_flat_stylebox(dark_color_1, 6, 4, 6, 4); style_button_type->set_draw_center(true); style_button_type->set_border_size(border_width); style_button_type->set_light_color(light_color_1);