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 { Item {
id: logoText id: logoWrapper
anchors.centerIn: parent anchors.centerIn: parent
text: Cfg.Config.logoIcon width: Cfg.Config.logoIconSize
height: Cfg.Config.logoIconSize
color: launcherActive ? t.logoIconActive : t.logoIcon
font.pixelSize: Cfg.Config.logoIconSize
Behavior on color { ColorAnimation { duration: 250 } }
transformOrigin: Item.Center
rotation: root.spinTarget rotation: root.spinTarget
Behavior on rotation { Behavior on rotation {
NumberAnimation { NumberAnimation {
@@ -56,5 +53,15 @@ ModuleChip {
easing.type: Easing.InOutBack 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

@@ -393,7 +393,9 @@ ModuleChip {
color: t.notifBadgeText color: t.notifBadgeText
font.pixelSize: 8 font.pixelSize: 8
font.bold: true font.bold: true
renderType: Text.NativeRendering horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
renderType: Text.QtRendering
} }
} }
} }