feat(style): mleader style read-only rows use the shared read-only field

This commit is contained in:
Karim Jerbi committed 2026-08-15 11:59:45 +01:00
1 parent 61c3497d7f
commit 71d4eb96e5
1 file changed
+1 -1
+1 -1
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),
container(text(value).size(11).style(muted_style)).padding([5, 7]),
crate::ui::read_only::field(value.as_ref(), 11.0, Length::Fill),
]
.spacing(8)
.align_y(iced::Center)