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

This commit is contained in:
Karim Jerbi committed 2026-08-15 11:59:45 +01:00
1 parent f2c4d389db
commit 61c3497d7f
1 file changed
+1 -1
+1 -1
View File
@@ -220,7 +220,7 @@ fn input_row<'a>(
read_only: bool,
) -> Element<'a, Message> {
let control: Element<'a, Message> = if read_only {
container(text(value).size(11)).padding([5, 7]).width(180).into()
crate::ui::read_only::field(value, 11.0, Length::Fixed(180.0))
} else {
text_input(placeholder.as_ref(), value)
.on_input(move |value| Message::TextStyleEdit { field, value })