small fix on Notifications.qml font on the bubble and an attempt to fix Logo.qml font centering
This commit is contained in:
@@ -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 } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user