Commit 8b16de4f authored by Nate Graham's avatar Nate Graham 🔩

[ExpandableListItem] Make expanded actions list view respect font

Previously it was basing its height on an icon size, which does not
scale with the font. As a result, sometimes the actions list could
get clipped when using certian fonts and font sizes. Let's change this
to multiples of GridUnit, which adjusts with the font.
parent 8c320d68
......@@ -508,7 +508,7 @@ Item {
anchors.leftMargin: listItemIcon.width + PlasmaCore.Units.smallSpacing
anchors.rightMargin: listItemIcon.width + PlasmaCore.Units.smallSpacing * 2
height: (PlasmaCore.Units.iconSizes.smallMedium + PlasmaCore.Units.smallSpacing * 2) * actionsList.count
height: PlasmaCore.Units.gridUnit * 2 * actionsList.count
focus: true
clip: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment