From e2536f6f1670d12b73cb55aa1580535e55d742ef Mon Sep 17 00:00:00 2001 From: Codex-ytr83r Date: Tue, 22 Sep 2026 15:47:59 -0700 Subject: [PATCH] Keep inspector Apply and Revert visible above scrolling properties --- crates/oa-desktop/src/views.rs | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/crates/oa-desktop/src/views.rs b/crates/oa-desktop/src/views.rs index 26641799..537c2f77 100644 --- a/crates/oa-desktop/src/views.rs +++ b/crates/oa-desktop/src/views.rs @@ -804,22 +804,24 @@ 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, + container(actions).padding(iced::Padding { + right: 14., + ..Default::default() + }), scrollable(body.padding(iced::Padding { right: 14., ..Default::default()