feat: applet text scaling based on panel size
This commit is contained in:
parent
e57a832b2f
commit
afff0793aa
4 changed files with 75 additions and 62 deletions
|
|
@ -136,7 +136,7 @@ impl cosmic::Application for IcedWorkspacesApplet {
|
|||
PanelAnchor::Top | PanelAnchor::Bottom
|
||||
);
|
||||
let buttons = self.workspaces.iter().filter_map(|w| {
|
||||
let content = text(w.0.clone()).font(FONT_BOLD).size(16);
|
||||
let content = self.core.applet.text(w.0.clone()).font(FONT_BOLD);
|
||||
|
||||
let content = row!(
|
||||
content,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue