fix(ui): fixed buttons placing in classic style
This commit is contained in:
parent
f20085f97e
commit
82e3355036
1 changed files with 6 additions and 1 deletions
|
@ -265,8 +265,13 @@ impl SimpleComponent for App {
|
|||
#[watch]
|
||||
set_visible: !model.downloading,
|
||||
|
||||
#[watch]
|
||||
set_margin_bottom: match model.style {
|
||||
LauncherStyle::Modern => 48,
|
||||
LauncherStyle::Classic => 0
|
||||
},
|
||||
|
||||
set_vexpand: true,
|
||||
set_margin_bottom: 48,
|
||||
|
||||
gtk::Box {
|
||||
#[watch]
|
||||
|
|
Loading…
Reference in a new issue