fix(nav_bar): use corret button padding

This commit is contained in:
Jeremy Soller 2024-03-01 09:15:55 -07:00
parent 4c738572f5
commit 8a86f1857f
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -29,12 +29,11 @@ where
{
let theme = crate::theme::active();
let space_s = theme.cosmic().space_s();
let space_xs = theme.cosmic().space_xs();
let space_xxs = theme.cosmic().space_xxs();
segmented_button::vertical(model)
.button_height(32)
.button_padding([space_s, space_xs, space_s, space_xs])
.button_padding([space_s, space_xxs, space_s, space_xxs])
.button_spacing(space_xxs)
.spacing(space_xxs)
.on_activate(on_activate)