You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Merge pull request #10087 from volzhs/editor-button-align
Fix label align of button in editor
This commit is contained in:
@@ -238,7 +238,7 @@ Ref<Theme> create_editor_theme() {
|
|||||||
theme->set_stylebox("panel", "TabContainer", style_content_panel);
|
theme->set_stylebox("panel", "TabContainer", style_content_panel);
|
||||||
theme->set_stylebox("Content", "EditorStyles", style_content_panel_vp);
|
theme->set_stylebox("Content", "EditorStyles", style_content_panel_vp);
|
||||||
|
|
||||||
Ref<StyleBoxFlat> style_button_type = make_flat_stylebox(dark_color_1, 4, 4, 6, 4);
|
Ref<StyleBoxFlat> style_button_type = make_flat_stylebox(dark_color_1, 6, 4, 6, 4);
|
||||||
style_button_type->set_draw_center(true);
|
style_button_type->set_draw_center(true);
|
||||||
style_button_type->set_border_size(border_width);
|
style_button_type->set_border_size(border_width);
|
||||||
style_button_type->set_light_color(light_color_1);
|
style_button_type->set_light_color(light_color_1);
|
||||||
|
|||||||
Reference in New Issue
Block a user