diff options
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Clock.qml')
| -rw-r--r-- | accounts/gkleen@sif/shell/quickshell/Clock.qml | 17 |
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 |
