fix: more text widgets unicode-capable now

This commit is contained in:
2026-04-04 22:17:19 +02:00
parent 5239c7bee3
commit bf8d6a376c
7 changed files with 33 additions and 19 deletions

View File

@@ -1,4 +1,5 @@
use iced::widget::{column, container, text};
use iced::widget::text::Shaping;
use iced::{Background, Color, Element, Length, Theme};
use bds_core::i18n::UiLocale;
@@ -14,9 +15,11 @@ pub fn view(locale: UiLocale) -> Element<'static, Message> {
column![
text(title)
.size(28)
.shaping(Shaping::Advanced)
.color(Color::from_rgb(0.85, 0.85, 0.90)),
text(subtitle)
.size(14)
.shaping(Shaping::Advanced)
.color(Color::from_rgb(0.55, 0.55, 0.60)),
]
.spacing(12)