diff options
author | golfinq <golfinqz@gmail.com> | 2022-07-28 14:49:10 -0400 |
---|---|---|
committer | golfinq <golfinqz@gmail.com> | 2022-07-31 12:24:07 -0400 |
commit | b341339415be2c07926fe3103f0064a8936d0390 (patch) | |
tree | e388fede228441355288a6cc62e1ff132fa92d85 /scene/resources/default_theme | |
parent | 2e05cc3314d0fd04f0e151ad0a827b34b28d8ece (diff) |
Add padding options in theme for fg/bgcolor tags
Diffstat (limited to 'scene/resources/default_theme')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 520a0a04ed..5ae0312313 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -965,6 +965,9 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const theme->set_color("table_even_row_bg", "RichTextLabel", Color(0, 0, 0, 0)); theme->set_color("table_border", "RichTextLabel", Color(0, 0, 0, 0)); + theme->set_constant("text_highlight_h_padding", "RichTextLabel", 3 * scale); + theme->set_constant("text_highlight_v_padding", "RichTextLabel", 3 * scale); + // Containers theme->set_icon("grabber", "VSplitContainer", icons["vsplitter"]); |