Sfoglia il codice sorgente

Merge pull request #11015 from toger5/rtl_default_stylebox_empty

rtl uses styleBoxEmpty as defualt fixes: #11014
Rémi Verschelde 8 anni fa
parent
commit
6aa90e35bb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
 
 	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("bold_font", "RichTextLabel", default_font);