소스 검색

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);