From 9fdc4874b242d55696f0c0d8c15cf1408a6eaa28 Mon Sep 17 00:00:00 2001 From: toger5 Date: Fri, 4 Aug 2017 20:16:04 +0200 Subject: fixed Import LineEdit to label + label stylebox - added a normal stylebox to label. default is StyleBoxEmpty - changed drawing so that it draws correct with styleboxes with margins - changed the LineEdit in the import to use a label with the lineEdit stylebox --- scene/resources/default_theme/default_theme.cpp | 1 + 1 file changed, 1 insertion(+) (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 03288e45bf..545b86f7c6 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -408,6 +408,7 @@ void fill_default_theme(Ref &theme, const Ref &default_font, const // Label + theme->set_stylebox("normal", "Label", memnew(StyleBoxEmpty)); theme->set_font("font", "Label", default_font); theme->set_color("font_color", "Label", Color(1, 1, 1)); -- cgit v1.2.3