Compare commits

...
+16 -11
View File
@@ -804,22 +804,27 @@ fn inspector(app: &App) -> View<'_, Message> {
);
}
}
body = body.push(
row![
button(text("Apply changes").size(12))
.padding([9, 12])
.on_press(Message::Apply)
.width(Fill),
action("Revert", Message::RevertProperties)
]
.spacing(5),
);
let actions = row![
button(text("Apply changes").size(12))
.padding([9, 12])
.on_press(Message::Apply)
.width(Fill),
action("Revert", Message::RevertProperties)
]
.spacing(5);
if let Some(d) = &app.draft {
body = body.push(forms::view(d, p));
}
container(
column![
tabs,
column![
tabs,
container(actions).padding(iced::Padding {
right: 14.,
..Default::default()
})
]
.spacing(12),
scrollable(body.padding(iced::Padding {
right: 14.,
..Default::default()