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 {
|
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 } }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -389,11 +389,13 @@ ModuleChip {
|
|||||||
Text {
|
Text {
|
||||||
id: badgeLabel
|
id: badgeLabel
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: root.unreadCount > 99 ? "99+" : root.unreadCount.toString()
|
text: root.unreadCount > 99 ? "99+" : root.unreadCount.toString()
|
||||||
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user