Change icon size to 0.9 instead of 0.8

This commit is contained in:
lysec
2025-10-07 18:26:13 +02:00
parent 6bc23e905d
commit e2affc2222
+12 -12
View File
@@ -113,11 +113,11 @@ NBox {
RowLayout { RowLayout {
anchors.centerIn: parent anchors.centerIn: parent
spacing: root.spacing spacing: Style.marginM * scaling
// Screen Recorder // Screen Recorder
NIconButton { NIconButton {
baseSize: Style.baseWidgetSize * 0.8 baseSize: Style.baseWidgetSize * 0.9
icon: "camera-video" icon: "camera-video"
visible: ProgramCheckerService.gpuScreenRecorderAvailable visible: ProgramCheckerService.gpuScreenRecorderAvailable
tooltipText: ScreenRecorderService.isRecording ? I18n.tr("tooltips.stop-screen-recording") : I18n.tr("tooltips.start-screen-recording") tooltipText: ScreenRecorderService.isRecording ? I18n.tr("tooltips.stop-screen-recording") : I18n.tr("tooltips.start-screen-recording")
@@ -134,7 +134,7 @@ NBox {
// Wallpaper // Wallpaper
NIconButton { NIconButton {
baseSize: Style.baseWidgetSize * 0.8 baseSize: Style.baseWidgetSize * 0.9
visible: Settings.data.wallpaper.enabled visible: Settings.data.wallpaper.enabled
icon: "wallpaper-selector" icon: "wallpaper-selector"
tooltipText: I18n.tr("tooltips.wallpaper-selector") tooltipText: I18n.tr("tooltips.wallpaper-selector")
@@ -144,7 +144,7 @@ NBox {
// Night Light // Night Light
NIconButton { NIconButton {
baseSize: Style.baseWidgetSize * 0.8 baseSize: Style.baseWidgetSize * 0.9
visible: ProgramCheckerService.wlsunsetAvailable visible: ProgramCheckerService.wlsunsetAvailable
colorBg: Settings.data.nightLight.forced ? Color.mPrimary : Color.transparent colorBg: Settings.data.nightLight.forced ? Color.mPrimary : Color.transparent
colorFg: Settings.data.nightLight.forced ? Color.mOnPrimary : Color.mPrimary colorFg: Settings.data.nightLight.forced ? Color.mOnPrimary : Color.mPrimary
@@ -185,12 +185,12 @@ NBox {
RowLayout { RowLayout {
anchors.centerIn: parent anchors.centerIn: parent
spacing: root.spacing spacing: Style.marginM * scaling
// Wifi // Wifi
NIconButton { NIconButton {
id: wifiButton id: wifiButton
baseSize: Style.baseWidgetSize * 0.8 baseSize: Style.baseWidgetSize * 0.9
tooltipText: I18n.tr("tooltips.manage-wifi") tooltipText: I18n.tr("tooltips.manage-wifi")
icon: { icon: {
try { try {
@@ -218,7 +218,7 @@ NBox {
// Bluetooth // Bluetooth
NIconButton { NIconButton {
baseSize: Style.baseWidgetSize * 0.8 baseSize: Style.baseWidgetSize * 0.9
tooltipText: I18n.tr("tooltips.bluetooth-devices") tooltipText: I18n.tr("tooltips.bluetooth-devices")
icon: BluetoothService.enabled ? "bluetooth" : "bluetooth-off" icon: BluetoothService.enabled ? "bluetooth" : "bluetooth-off"
onClicked: PanelService.getPanel("bluetoothPanel")?.toggle(this) onClicked: PanelService.getPanel("bluetoothPanel")?.toggle(this)
@@ -227,7 +227,7 @@ NBox {
// Caffeine (Keep Awake) // Caffeine (Keep Awake)
NIconButton { NIconButton {
baseSize: Style.baseWidgetSize * 0.8 baseSize: Style.baseWidgetSize * 0.9
icon: IdleInhibitorService.isInhibited ? "keep-awake-on" : "keep-awake-off" icon: IdleInhibitorService.isInhibited ? "keep-awake-on" : "keep-awake-off"
tooltipText: IdleInhibitorService.isInhibited ? I18n.tr("tooltips.disable-keep-awake") : I18n.tr("tooltips.enable-keep-awake") tooltipText: IdleInhibitorService.isInhibited ? I18n.tr("tooltips.disable-keep-awake") : I18n.tr("tooltips.enable-keep-awake")
colorBg: IdleInhibitorService.isInhibited ? Color.mPrimary : Color.mSurfaceVariant colorBg: IdleInhibitorService.isInhibited ? Color.mPrimary : Color.mSurfaceVariant
@@ -253,11 +253,11 @@ NBox {
RowLayout { RowLayout {
anchors.centerIn: parent anchors.centerIn: parent
spacing: root.spacing spacing: Style.marginM * scaling
// Performance // Performance
NIconButton { NIconButton {
baseSize: Style.baseWidgetSize * 0.8 baseSize: Style.baseWidgetSize * 0.9
icon: PowerProfileService.getIcon(PowerProfile.Performance) icon: PowerProfileService.getIcon(PowerProfile.Performance)
tooltipText: I18n.tr("tooltips.set-power-profile", { tooltipText: I18n.tr("tooltips.set-power-profile", {
"profile": PowerProfileService.getName(PowerProfile.Performance) "profile": PowerProfileService.getName(PowerProfile.Performance)
@@ -271,7 +271,7 @@ NBox {
// Balanced // Balanced
NIconButton { NIconButton {
baseSize: Style.baseWidgetSize * 0.8 baseSize: Style.baseWidgetSize * 0.9
icon: PowerProfileService.getIcon(PowerProfile.Balanced) icon: PowerProfileService.getIcon(PowerProfile.Balanced)
tooltipText: I18n.tr("tooltips.set-power-profile", { tooltipText: I18n.tr("tooltips.set-power-profile", {
"profile": PowerProfileService.getName(PowerProfile.Balanced) "profile": PowerProfileService.getName(PowerProfile.Balanced)
@@ -285,7 +285,7 @@ NBox {
// Eco // Eco
NIconButton { NIconButton {
baseSize: Style.baseWidgetSize * 0.8 baseSize: Style.baseWidgetSize * 0.9
icon: PowerProfileService.getIcon(PowerProfile.PowerSaver) icon: PowerProfileService.getIcon(PowerProfile.PowerSaver)
tooltipText: I18n.tr("tooltips.set-power-profile", { tooltipText: I18n.tr("tooltips.set-power-profile", {
"profile": PowerProfileService.getName(PowerProfile.PowerSaver) "profile": PowerProfileService.getName(PowerProfile.PowerSaver)