diff --git a/src/app.rs b/src/app.rs index 39bd3d37..a17e7d11 100644 --- a/src/app.rs +++ b/src/app.rs @@ -141,15 +141,20 @@ impl SimpleComponent for App { adw::NavigationPage { set_tag: Some("picture"), - gtk::Box { - set_orientation: gtk::Orientation::Vertical, + adw::ToolbarView { + add_top_bar = &adw::HeaderBar, + + #[wrap(Some)] + set_content = >k::Box { + set_orientation: gtk::Orientation::Vertical, - #[local_ref] - picture_view -> gtk::Picture { - set_can_shrink: true, - set_valign: gtk::Align::Center, + #[local_ref] + picture_view -> gtk::Picture { + set_can_shrink: true, + set_valign: gtk::Align::Center, + } } - } + }, }, }, }