From 9afdb3e0ad5bfbdafe307212f5d4ebcc7c3ac852 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 15 Feb 2014 02:01:39 -0300 Subject: -fixed bug in Button now exporting font property -made GUI Theme editor usable -editor does not allow to export or create .pck in the same path as a project -changed .pck format (lacked support for versioning so couldn't change it), previous was causing crashes and is now incompatible, just re-export. -will not look for .pck files recursively, was causing unexpected behaviors -fixed execution of Godot in paths with non unicode characters in Windows, OSX and Linux. --- scene/resources/default_theme/default_theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/resources/default_theme') diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 01f0869275..6ec587637d 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -196,7 +196,7 @@ void make_default_theme() { focus->set_expand_margin_size(Margin(i),2); } t->set_stylebox("focus","Button", focus ); - t->set_font("font","Button", focus ); + t->set_font("font","Button", default_font ); t->set_color("font_color","Button", control_font_color ); t->set_color("font_color_pressed","Button", control_font_color_pressed ); t->set_color("font_color_hover","Button", control_font_color_hover ); -- cgit v1.2.3