Changeset View
Changeset View
Standalone View
Standalone View
applets/notifications/package/contents/ui/CompactRepresentation.qml
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Line(s) | 81 | PlasmaCore.SvgItem { | |||
---|---|---|---|---|---|
89 | svg: notificationSvg | 89 | svg: notificationSvg | ||
90 | elementId: "notification-progress-active" | 90 | elementId: "notification-progress-active" | ||
91 | } | 91 | } | ||
92 | } | 92 | } | ||
93 | 93 | | |||
94 | PlasmaComponents.Label { | 94 | PlasmaComponents.Label { | ||
95 | id: countLabel | 95 | id: countLabel | ||
96 | anchors.centerIn: parent | 96 | anchors.centerIn: parent | ||
97 | width: Math.round(Math.min(parent.width, parent.height) * 0.75) | 97 | width: Math.round(Math.min(parent.width, parent.height) * (text.length > 1 ? 0.67 : 0.75)) | ||
broulik: Can you rearrange that a bit
```
width: Math.round(Math.min(parent.width, parent.height) *… | |||||
98 | height: width | 98 | height: width | ||
99 | fontSizeMode: Text.Fit | 99 | fontSizeMode: Text.Fit | ||
100 | font.pointSize: 1024 | 100 | font.pointSize: 1024 | ||
101 | font.pixelSize: -1 | 101 | font.pixelSize: -1 | ||
102 | minimumPointSize: 5//theme.smallestFont.pointSize | 102 | minimumPointSize: 5//theme.smallestFont.pointSize | ||
103 | horizontalAlignment: Text.AlignHCenter | 103 | horizontalAlignment: Text.AlignHCenter | ||
104 | verticalAlignment: Text.AlignVCenter | 104 | verticalAlignment: Text.AlignVCenter | ||
105 | text: compactRoot.unreadCount || "" | 105 | text: compactRoot.unreadCount || "" | ||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |
Can you rearrange that a bit