mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-13 21:18:01 +03:00
add 24px minimum height for ShortcutBadges
This commit is contained in:
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…
Reference in New Issue
Block a user