summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/launcher/ActionItem.qml4
-rw-r--r--modules/launcher/AppItem.qml4
2 files changed, 6 insertions, 2 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)
diff --git a/modules/launcher/AppItem.qml b/modules/launcher/AppItem.qml
index 0b893bb..b6a0bf5 100644
--- a/modules/launcher/AppItem.qml
+++ b/modules/launcher/AppItem.qml
@@ -46,7 +46,7 @@ Item {
anchors.verticalCenter: icon.verticalCenter
implicitWidth: parent.width - icon.width
- implicitHeight: childrenRect.height
+ implicitHeight: name.implicitHeight + comment.implicitHeight
StyledText {
id: name
@@ -56,6 +56,8 @@ Item {
}
StyledText {
+ id: comment
+
text: (root.modelData?.comment || root.modelData?.genericName || root.modelData?.name) ?? ""
font.pointSize: Appearance.font.size.small
color: Colours.alpha(Colours.palette.m3outline, true)