瀏覽代碼

Merge pull request #11015 from toger5/rtl_default_stylebox_empty

rtl uses styleBoxEmpty as defualt fixes: #11014
Rémi Verschelde 8 年之前
父節點
當前提交
6aa90e35bb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);