applet overlap
chore: mpris dep fix: dock buttons improv: battery and audio improvements feat: overlapping padding fix: input source text button fix: apply panel spacing to app tray chore: update libcosmic fix: spacing and padding fix(minimize): hide when empty
This commit is contained in:
parent
b026db6f7c
commit
836c0e378b
26 changed files with 627 additions and 576 deletions
|
|
@ -26,7 +26,7 @@ where
|
|||
icon: &fde::IconSource,
|
||||
size: f32,
|
||||
on_press: Msg,
|
||||
padding: u16,
|
||||
padding: (u16, u16),
|
||||
) -> Self {
|
||||
let border = 1.0;
|
||||
Self {
|
||||
|
|
@ -63,8 +63,9 @@ where
|
|||
.height(Length::Shrink)
|
||||
.width(Length::Shrink),
|
||||
)
|
||||
.center(Length::Fixed(size + padding as f32 * 2.0))
|
||||
.padding(padding),
|
||||
.center_x(Length::Fixed(size + padding.0 as f32 * 2.0))
|
||||
.center_y(Length::Fixed(size + padding.1 as f32 * 2.0))
|
||||
.padding([padding.0 as f32, padding.1 as f32]),
|
||||
)
|
||||
.on_press(on_press)
|
||||
.width(Length::Shrink)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue