add 24px minimum height for ShortcutBadges

pull/4/head
Michail Vourlakos 6 years ago
parent 46dd59b65a
commit f6d2e8c8f8

@ -86,8 +86,9 @@ Loader{
id: appletNumber
anchors.centerIn: parent
minimumWidth: 0.4 * root.iconSize
height: 0.4 * (wrapper.zoomScale * root.iconSize)
minimumWidth: 0.4 * (wrapper.zoomScale * root.iconSize)
height: Math.max(24, 0.4 * (wrapper.zoomScale * root.iconSize))
border.color: root.minimizedDotColor
proportion: 0
radiusPerCentage: 50

@ -613,10 +613,10 @@ Item{
Latte.BadgeText {
id: taskNumber
anchors.centerIn: parent
border.color: root.minimizedDotColor
minimumWidth: 0.4 * (wrapper.mScale * root.iconSize)
height: Math.max(24, 0.4 * (wrapper.mScale * root.iconSize))
minimumWidth: 0.4 * root.iconSize
height: 0.4 * (wrapper.mScale * root.iconSize)
border.color: root.minimizedDotColor
textValue: taskNumberLoader.badgeString
showNumber: false

Loading…
Cancel
Save