Adjust icon sizes
- Temp icons and font sizes until dedicated icons
This commit is contained in:
parent
6bfe4d0e69
commit
8992d14a7b
@ -2,7 +2,7 @@ export component SquareIconWidget {
|
|||||||
// Basic parameters shared by all square icon widgets
|
// Basic parameters shared by all square icon widgets
|
||||||
in property <int> bar_height;
|
in property <int> bar_height;
|
||||||
in property <string> icon_text;
|
in property <string> icon_text;
|
||||||
in property <int> icon_font_size;
|
in property <int> icon_font_size: bar_height - 3;
|
||||||
in property <string> tooltip_text;
|
in property <string> tooltip_text;
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
|
|||||||
@ -219,6 +219,7 @@ export component TopBar inherits Window {
|
|||||||
icon_text: root.battery_icon;
|
icon_text: root.battery_icon;
|
||||||
tooltip_text: root.battery_tooltip;
|
tooltip_text: root.battery_tooltip;
|
||||||
icon_color: root.battery_icon_color;
|
icon_color: root.battery_icon_color;
|
||||||
|
icon_font_size: root.bar_height - 9;
|
||||||
/*bg_normal: root.battery_bg_normal;
|
/*bg_normal: root.battery_bg_normal;
|
||||||
bg_hover: root.battery_bg_hover;
|
bg_hover: root.battery_bg_hover;
|
||||||
bg_clicked: root.battery_bg_clicked;*/
|
bg_clicked: root.battery_bg_clicked;*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user