diff --git a/applets/kicker/package/contents/ui/DashboardRepresentation.qml b/applets/kicker/package/contents/ui/DashboardRepresentation.qml --- a/applets/kicker/package/contents/ui/DashboardRepresentation.qml +++ b/applets/kicker/package/contents/ui/DashboardRepresentation.qml @@ -44,10 +44,10 @@ property bool smallScreen: ((Math.floor(width / units.iconSizes.huge) <= 22) || (Math.floor(height / units.iconSizes.huge) <= 14)) property int iconSize: smallScreen ? units.iconSizes.large : units.iconSizes.huge - property int cellSize: iconSize + theme.mSize(theme.defaultFont).height - + (2 * units.smallSpacing) - + (2 * Math.max(highlightItemSvg.margins.top + highlightItemSvg.margins.bottom, - highlightItemSvg.margins.left + highlightItemSvg.margins.right)) + property int cellSize: iconSize + 2 * theme.mSize(theme.defaultFont).height + + units.smallSpacing + + Math.max(highlightItemSvg.margins.top + highlightItemSvg.margins.bottom, + highlightItemSvg.margins.left + highlightItemSvg.margins.right) property int columns: Math.floor(((smallScreen ? 85 : 80)/100) * Math.ceil(width / cellSize)) property bool searching: (searchField.text != "") property var widgetExplorer: null diff --git a/applets/kicker/package/contents/ui/ItemGridDelegate.qml b/applets/kicker/package/contents/ui/ItemGridDelegate.qml --- a/applets/kicker/package/contents/ui/ItemGridDelegate.qml +++ b/applets/kicker/package/contents/ui/ItemGridDelegate.qml @@ -61,7 +61,7 @@ PlasmaCore.IconItem { id: icon - y: showLabel ? (2 * highlightItemSvg.margins.top) : undefined + y: showLabel ? highlightItemSvg.margins.top : undefined anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: showLabel ? undefined : parent.verticalCenter @@ -89,9 +89,12 @@ leftMargin: highlightItemSvg.margins.left right: parent.right rightMargin: highlightItemSvg.margins.right + bottom: parent.bottom + bottomMargin: highlightItemSvg.margins.bottom } horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignTop maximumLineCount: 2 elide: Text.ElideRight