forked from 1b-agent/opencadstudio-upstream
feat(style): align mleader read-only field width with editable fields
This commit is contained in:
1 parent
d5b5f0781f
commit
8e6b60910c
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),
|
||||||
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)
|
.spacing(8)
|
||||||
.align_y(iced::Center)
|
.align_y(iced::Center)
|
||||||
|
|||||||
Reference in new issue
Block a user