fix sizing
This commit is contained in:
parent
1f9c54438a
commit
c394368dc5
1 changed files with 4 additions and 2 deletions
|
|
@ -9,7 +9,9 @@ NIconButton {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
property ShellScreen screen
|
property ShellScreen screen
|
||||||
property real scaling: ScalingService.scale(screen)
|
property real scaling: 1.0
|
||||||
|
|
||||||
|
sizeRatio: 0.8
|
||||||
|
|
||||||
icon: "power_settings_new"
|
icon: "power_settings_new"
|
||||||
tooltipText: "Power Settings"
|
tooltipText: "Power Settings"
|
||||||
|
|
@ -18,4 +20,4 @@ NIconButton {
|
||||||
colorBorder: Color.transparent
|
colorBorder: Color.transparent
|
||||||
colorBorderHover: Color.transparent
|
colorBorderHover: Color.transparent
|
||||||
onClicked: PanelService.getPanel("powerPanel")?.toggle(screen)
|
onClicked: PanelService.getPanel("powerPanel")?.toggle(screen)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue