[plasma/plasma-workspace/Plasma/6.6] applets/digital-clock: applets/digital-clock: Fix label not adjusting in size when showSeconds is changed
Nate Graham <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 313db251d8be3e280cf8d0da1bb169676edd74ba by Nate Graham. Committed on 22/07/2026 at 03:12. Pushed by ngraham into branch 'Plasma/6.6'. applets/digital-clock: Fix label not adjusting in size when showSeconds is changed Label sizing did not adjust to appropriate width when showSeconds was changed. The solution was to just call main.setupLabels() when showSeconds is changed. BUG: 523010 FIXED-IN: 6.6.7 (cherry picked from commit 28a42b4d5f9d2ce6ac11d4a3cd03b98216f26992) ef10f6b5 Label sizing did not adjust to appropriate width when showSeconds was changed.... Co-authored-by: Hunter White <[email protected]> M +4 -0 applets/digital-clock/DigitalClock.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/313db251d8be3e280cf8d0da1bb169676edd74ba diff --git a/applets/digital-clock/DigitalClock.qml b/applets/digital-clock/DigitalClock.qml index 9833128896..b81e59e7c1 100644 --- a/applets/digital-clock/DigitalClock.qml +++ b/applets/digital-clock/DigitalClock.qml @@ -128,6 +128,10 @@ MouseArea { function onUse24hFormatChanged() { main.timeFormatCorrection(); } + + function onShowSecondsChanged() { + main.setupLabels(); + } } function pointToPixel(pointSize: int): int {