Browse Source

Merge pull request #11015 from toger5/rtl_default_stylebox_empty

rtl uses styleBoxEmpty as defualt fixes: #11014
Rémi Verschelde 8 years ago
parent
commit
6aa90e35bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/resources/default_theme/default_theme.cpp

+ 1 - 1
scene/resources/default_theme/default_theme.cpp

@@ -794,7 +794,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
 	// RichTextLabel
 	// RichTextLabel
 
 
 	theme->set_stylebox("focus", "RichTextLabel", focus);
 	theme->set_stylebox("focus", "RichTextLabel", focus);
-	theme->set_stylebox("normal", "RichTextLabel", make_stylebox(tree_bg_png, 3, 3, 3, 3));
+	theme->set_stylebox("normal", "RichTextLabel", make_empty_stylebox(0, 0, 0, 0));
 
 
 	theme->set_font("normal_font", "RichTextLabel", default_font);
 	theme->set_font("normal_font", "RichTextLabel", default_font);
 	theme->set_font("bold_font", "RichTextLabel", default_font);
 	theme->set_font("bold_font", "RichTextLabel", default_font);