Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/TaskBadgeOverlay.qml
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 77 | PlasmaComponents.Label { | |||
---|---|---|---|---|---|
79 | width: height | 79 | width: height | ||
80 | height: Math.round(parent.height) | 80 | height: Math.round(parent.height) | ||
81 | horizontalAlignment: Text.AlignHCenter | 81 | horizontalAlignment: Text.AlignHCenter | ||
82 | verticalAlignment: Text.AlignVCenter | 82 | verticalAlignment: Text.AlignVCenter | ||
83 | fontSizeMode: Text.Fit | 83 | fontSizeMode: Text.Fit | ||
84 | font.pointSize: 1024 | 84 | font.pointSize: 1024 | ||
85 | minimumPointSize: 5 | 85 | minimumPointSize: 5 | ||
86 | color: theme.backgroundColor | 86 | color: theme.backgroundColor | ||
87 | text: task.smartLauncherItem.count | 87 | text: task.smartLauncherItem.count > 99 ? i18nc("Over 99 new messages, overlay, keep short", "99+") : task.smartLauncherItem.count | ||
88 | } | 88 | } | ||
89 | } | 89 | } | ||
90 | } | 90 | } |