Merge pull request #106300 from bruvzg/rtl_ualp

[RTL] Add options to override underline color and default alpha.
This commit is contained in:
Rémi Verschelde 2025-06-05 13:11:39 +02:00
commit 8e0c258408
No known key found for this signature in database
GPG key ID: C3336907360768E1
6 changed files with 113 additions and 33 deletions

View file

@ -1190,6 +1190,9 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_constant("text_highlight_h_padding", "RichTextLabel", Math::round(3 * scale));
theme->set_constant("text_highlight_v_padding", "RichTextLabel", Math::round(3 * scale));
theme->set_constant("underline_alpha", "RichTextLabel", 50);
theme->set_constant("strikethrough_alpha", "RichTextLabel", 50);
// Containers
theme->set_icon("h_touch_dragger", "SplitContainer", icons["h_dragger"]);