small fix on Notifications.qml font on the bubble and an attempt to fix Logo.qml font centering

This commit is contained in:
SomeElse
2026-05-17 23:10:33 +00:00
parent fb37c8c8a2
commit 01619f4af4
2 changed files with 22 additions and 13 deletions

View File

@@ -39,16 +39,13 @@ ModuleChip {
}
}
Text {
id: logoText
Item {
id: logoWrapper
anchors.centerIn: parent
text: Cfg.Config.logoIcon
color: launcherActive ? t.logoIconActive : t.logoIcon
font.pixelSize: Cfg.Config.logoIconSize
Behavior on color { ColorAnimation { duration: 250 } }
width: Cfg.Config.logoIconSize
height: Cfg.Config.logoIconSize
transformOrigin: Item.Center
rotation: root.spinTarget
Behavior on rotation {
NumberAnimation {
@@ -56,5 +53,15 @@ ModuleChip {
easing.type: Easing.InOutBack
}
}
Text {
id: logoText
anchors.centerIn: parent
text: Cfg.Config.logoIcon
color: launcherActive ? t.logoIconActive : t.logoIcon
font.pixelSize: Cfg.Config.logoIconSize
renderType: Text.QtRendering
Behavior on color { ColorAnimation { duration: 250 } }
}
}
}

View File

@@ -389,11 +389,13 @@ ModuleChip {
Text {
id: badgeLabel
anchors.centerIn: parent
text: root.unreadCount > 99 ? "99+" : root.unreadCount.toString()
color: t.notifBadgeText
font.pixelSize: 8
font.bold: true
renderType: Text.NativeRendering
text: root.unreadCount > 99 ? "99+" : root.unreadCount.toString()
color: t.notifBadgeText
font.pixelSize: 8
font.bold: true
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
renderType: Text.QtRendering
}
}
}