aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/ItemDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/ItemDelegate.qml')
-rw-r--r--src/imports/controls/ItemDelegate.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/controls/ItemDelegate.qml b/src/imports/controls/ItemDelegate.qml
index f8060432..b5dfb4b6 100644
--- a/src/imports/controls/ItemDelegate.qml
+++ b/src/imports/controls/ItemDelegate.qml
@@ -47,6 +47,7 @@ T.ItemDelegate {
implicitHeight: Math.max(background ? background.implicitHeight : 0,
Math.max(label ? label.implicitHeight : 0,
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
+ baselineOffset: label ? label.y + label.baselineOffset : 0
padding: 12
spacing: 12