diff --git a/src/ui/main/mod.rs b/src/ui/main/mod.rs index 826f500..d780ce1 100644 --- a/src/ui/main/mod.rs +++ b/src/ui/main/mod.rs @@ -223,10 +223,10 @@ impl SimpleComponent for App { #[watch] set_visible: model.style == LauncherStyle::Modern, - gtk::Image { + gtk::Picture { set_resource: Some("/org/app/images/icon.png"), set_vexpand: true, - set_margin_top: 48 + set_content_fit: gtk::ContentFit::ScaleDown }, gtk::Label { @@ -253,6 +253,8 @@ impl SimpleComponent for App { set_visible: model.downloading, set_vexpand: true, + set_margin_top: 48, + set_margin_bottom: 48, add = model.progress_bar.widget(), }, @@ -274,6 +276,7 @@ impl SimpleComponent for App { set_visible: !model.downloading, set_vexpand: true, + set_margin_bottom: 48, gtk::Box { #[watch]