feat(style): align mleader read-only field width with editable fields

This commit is contained in:
Karim Jerbi 2026-08-15 09:39:51 +01:00
commit 8e6b60910c

View file

@ -98,7 +98,7 @@ fn input_row<'a>(
fn readonly_row<'a>(label: Cow<'static, str>, value: Cow<'static, str>) -> Element<'a, Message> {
row![
text(label).size(11).style(muted_style).width(165),
crate::ui::read_only::field(value.as_ref(), 11.0, Length::Fill),
crate::ui::read_only::field(value.as_ref(), 11.0, Length::Fixed(190.0)),
]
.spacing(8)
.align_y(iced::Center)