[TextEdit] Make wrap_right_offset adjustable theme constant.

This commit is contained in:
Pāvels Nadtočajevs
2025-10-16 23:49:43 +03:00
parent 7864ac8019
commit e31830db52
4 changed files with 7 additions and 2 deletions

View File

@ -477,6 +477,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_constant("line_spacing", "TextEdit", Math::round(4 * scale));
theme->set_constant("outline_size", "TextEdit", 0);
theme->set_constant("caret_width", "TextEdit", 1);
theme->set_constant("wrap_offset", "TextEdit", 10);
// CodeEdit