diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-24 15:58:40 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-24 15:58:40 +0800 |
| commit | 006189949ca3f34df4a15f583c94e0349b6f6adb (patch) | |
| tree | 648a210921818a321fd31b576d3170e8f0939bd2 /modules/launcher/ActionItem.qml | |
| parent | feat: bar battery (diff) | |
| download | caelestia-shell-006189949ca3f34df4a15f583c94e0349b6f6adb.tar.gz caelestia-shell-006189949ca3f34df4a15f583c94e0349b6f6adb.tar.bz2 caelestia-shell-006189949ca3f34df4a15f583c94e0349b6f6adb.zip | |
internal: dont use childrenrect
Diffstat (limited to 'modules/launcher/ActionItem.qml')
| -rw-r--r-- | modules/launcher/ActionItem.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/launcher/ActionItem.qml b/modules/launcher/ActionItem.qml index f4f90a2..a650768 100644 --- a/modules/launcher/ActionItem.qml +++ b/modules/launcher/ActionItem.qml @@ -43,7 +43,7 @@ Item { anchors.verticalCenter: icon.verticalCenter implicitWidth: parent.width - icon.width - implicitHeight: childrenRect.height + implicitHeight: name.implicitHeight + desc.implicitHeight StyledText { id: name @@ -53,6 +53,8 @@ Item { } StyledText { + id: desc + text: root.modelData?.desc ?? "" font.pointSize: Appearance.font.size.small color: Colours.alpha(Colours.palette.m3outline, true) |