fix(ui): fixed buttons placing in classic style

This commit is contained in:
Observer KRypt0n_ 2023-04-23 11:25:23 +02:00
parent f20085f97e
commit 82e3355036
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -265,8 +265,13 @@ impl SimpleComponent for App {
#[watch] #[watch]
set_visible: !model.downloading, set_visible: !model.downloading,
#[watch]
set_margin_bottom: match model.style {
LauncherStyle::Modern => 48,
LauncherStyle::Classic => 0
},
set_vexpand: true, set_vexpand: true,
set_margin_bottom: 48,
gtk::Box { gtk::Box {
#[watch] #[watch]