summaryrefslogtreecommitdiff
path: root/modules/bar/components/TrayItem.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-17 20:27:30 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-17 20:27:30 +0800
commit6e82fbc8b901d00acbeeddc724916818cb313b53 (patch)
tree2c277d6b5af9c6adf8ce2d49fc7b06f0ec974c6a /modules/bar/components/TrayItem.qml
parentfeat: dashboard (diff)
downloadcaelestia-shell-6e82fbc8b901d00acbeeddc724916818cb313b53.tar.gz
caelestia-shell-6e82fbc8b901d00acbeeddc724916818cb313b53.tar.bz2
caelestia-shell-6e82fbc8b901d00acbeeddc724916818cb313b53.zip
refactor: use implicit size instead of actual size
Diffstat (limited to 'modules/bar/components/TrayItem.qml')
-rw-r--r--modules/bar/components/TrayItem.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bar/components/TrayItem.qml b/modules/bar/components/TrayItem.qml
index 5ce45ee..57ec106 100644
--- a/modules/bar/components/TrayItem.qml
+++ b/modules/bar/components/TrayItem.qml
@@ -15,8 +15,8 @@ MouseArea {
required property color colour
acceptedButtons: Qt.LeftButton | Qt.RightButton
- width: Appearance.font.size.smaller * 2
- height: Appearance.font.size.smaller * 2
+ implicitWidth: Appearance.font.size.smaller * 2
+ implicitHeight: Appearance.font.size.smaller * 2
onClicked: event => {
if (event.button === Qt.LeftButton)