diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-22 00:21:57 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-22 00:21:57 +1000 |
| commit | 6616cb13272132302f0b58573e98b4564e105e12 (patch) | |
| tree | 94e84b563534a3114a957b16bd8df7bf157ee871 /widgets/DesktopClock.qml | |
| parent | feat: add a simple desktop clock (#238) (diff) | |
| download | caelestia-shell-6616cb13272132302f0b58573e98b4564e105e12.tar.gz caelestia-shell-6616cb13272132302f0b58573e98b4564e105e12.tar.bz2 caelestia-shell-6616cb13272132302f0b58573e98b4564e105e12.zip | |
background: some fixes for desktop clock
Loader + use implicit width/height + move
Diffstat (limited to 'widgets/DesktopClock.qml')
| -rw-r--r-- | widgets/DesktopClock.qml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/widgets/DesktopClock.qml b/widgets/DesktopClock.qml deleted file mode 100644 index 30e4fc4..0000000 --- a/widgets/DesktopClock.qml +++ /dev/null @@ -1,20 +0,0 @@ -import QtQuick -import QtQuick.Controls -import qs.config -import qs.services -import qs.widgets - -Item { - id: clockRoot - width: timeText.implicitWidth + Appearance.padding.large * 2 - height: timeText.implicitHeight + Appearance.padding.large * 2 - - - StyledText { - id: timeText - anchors.centerIn: parent - font.pointSize: Appearance.font.size.extraLarge - font.bold: true - text: Time.format("hh:mm:ss"); - } -} |