summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/Clock.qml
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-09-12 14:21:21 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2025-09-12 14:21:21 +0200
commit43af16801fcbb7056a51ed5fd6539c74ff5c0379 (patch)
treebbf61e0d0df1cac84c441afaddcb2184dc450181 /accounts/gkleen@sif/shell/quickshell/Clock.qml
parentda23e39c353e68fdc7c5839d78945e88352a7f92 (diff)
downloadnixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar
nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar.gz
nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar.bz2
nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar.xz
nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.zip
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Clock.qml')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Clock.qml17
1 files changed, 12 insertions, 5 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Clock.qml b/accounts/gkleen@sif/shell/quickshell/Clock.qml
index bb618f6a..b7004528 100644
--- a/accounts/gkleen@sif/shell/quickshell/Clock.qml
+++ b/accounts/gkleen@sif/shell/quickshell/Clock.qml
@@ -80,8 +80,8 @@ Item {
80 } 80 }
81 } 81 }
82 82
83 implicitWidth: clockTooltipContent.width 83 implicitWidth: tooltipLayout.childrenRect.width + 16
84 implicitHeight: clockTooltipContent.height 84 implicitHeight: tooltipLayout.childrenRect.height + 16
85 color: "black" 85 color: "black"
86 86
87 onVisibleChanged: { 87 onVisibleChanged: {
@@ -99,13 +99,20 @@ Item {
99 99
100 anchors.fill: parent 100 anchors.fill: parent
101 101
102 WrapperItem { 102 Item {
103 id: clockTooltipContent 103 id: clockTooltipContent
104 104
105 margin: 8 105 anchors.fill: parent
106 106
107 ColumnLayout { 107 ColumnLayout {
108 anchors.centerIn: parent 108 id: tooltipLayout
109
110 anchors {
111 left: parent.left
112 top: parent.top
113 leftMargin: 8
114 topMargin: 8
115 }
109 116
110 Text { 117 Text {
111 id: yearLabel 118 id: yearLabel