Changeset View
Changeset View
Standalone View
Standalone View
applets/digital-clock/package/contents/ui/DigitalClock.qml
Show First 20 Lines • Show All 299 Lines • ▼ Show 20 Line(s) | 255 | State { | |||
---|---|---|---|---|---|
300 | 300 | | |||
301 | PropertyChanges { | 301 | PropertyChanges { | ||
302 | target: dateLabel | 302 | target: dateLabel | ||
303 | 303 | | |||
304 | height: dateLabel.paintedHeight | 304 | height: dateLabel.paintedHeight | ||
305 | width: main.width | 305 | width: main.width | ||
306 | 306 | | |||
307 | fontSizeMode: Text.Fit | 307 | fontSizeMode: Text.Fit | ||
308 | minimumPixelSize: Math.min(0.7 * theme.smallestFont.pixelSize, timeLabel.height) | 308 | minimumPixelSize: Math.min(theme.smallestFont.pixelSize, 0.7 * timeLabel.height) | ||
309 | elide: Text.ElideRight | | |||
310 | wrapMode: Text.WordWrap | 309 | wrapMode: Text.WordWrap | ||
311 | } | 310 | } | ||
312 | 311 | | |||
313 | AnchorChanges { | 312 | AnchorChanges { | ||
314 | target: dateLabel | 313 | target: dateLabel | ||
315 | 314 | | |||
316 | anchors.top: labelsGrid.bottom | 315 | anchors.top: labelsGrid.bottom | ||
317 | anchors.horizontalCenter: labelsGrid.horizontalCenter | 316 | anchors.horizontalCenter: labelsGrid.horizontalCenter | ||
▲ Show 20 Lines • Show All 382 Lines • Show Last 20 Lines |