Tooltips: fixed a bunch of tooltips which were not properly scaled.

This commit is contained in:
ItsLemmy
2025-10-03 19:02:53 -04:00
parent 46707fb926
commit 47b0ace199
20 changed files with 30 additions and 13 deletions
@@ -10,6 +10,7 @@ import qs.Widgets
// Power Profiles: performance, balanced, eco
NBox {
property ShellScreen screen
property real spacing: 0
// Centralized service
@@ -26,6 +27,7 @@ NBox {
// Performance
NIconButton {
icon: PowerProfileService.getIcon(PowerProfile.Performance)
screen: root.screen
tooltipText: I18n.tr("tooltips.set-power-profile", {
"profile": PowerProfileService.getName(PowerProfile.Performance)
})
@@ -38,6 +40,7 @@ NBox {
// Balanced
NIconButton {
icon: PowerProfileService.getIcon(PowerProfile.Balanced)
screen: root.screen
tooltipText: I18n.tr("tooltips.set-power-profile", {
"profile": PowerProfileService.getName(PowerProfile.Balanced)
})
@@ -50,6 +53,7 @@ NBox {
// Eco
NIconButton {
icon: PowerProfileService.getIcon(PowerProfile.PowerSaver)
screen: root.screen
tooltipText: I18n.tr("tooltips.set-power-profile", {
"profile": PowerProfileService.getName(PowerProfile.PowerSaver)
})