fix: more text widgets unicode-capable now
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user