forked from 1b-agent/opencadstudio-upstream
feat(style): mleader style read-only rows use the shared read-only field
This commit is contained in:
1 parent
61c3497d7f
commit
71d4eb96e5
1 file changed
+1
-1
@@ -98,7 +98,7 @@ fn input_row<'a>(
|
|||||||
fn readonly_row<'a>(label: Cow<'static, str>, value: Cow<'static, str>) -> Element<'a, Message> {
|
fn readonly_row<'a>(label: Cow<'static, str>, value: Cow<'static, str>) -> Element<'a, Message> {
|
||||||
row![
|
row![
|
||||||
text(label).size(11).style(muted_style).width(165),
|
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)
|
.spacing(8)
|
||||||
.align_y(iced::Center)
|
.align_y(iced::Center)
|
||||||
|
|||||||
Reference in new issue
Block a user