The source project of this merge request has been removed.
applets/kickoff: fix unaligned icon and label
As related by @fusionfuture in this comment, depending on panel height the icon and label could be unaligned.
I changed the RowLayout by Row, used almost the same properties from user selector widget but, I had to set fontSizeMode
to undefined and only set to Text.VerticalFit
when panel is in certain size.
The font had only two options: PlasmaCore.Theme.defaultFont.pixelSize
when panel was small and PlasmaCore.Units.roundToIconSize(PlasmaCore.Units.gridUnit * 2)
, when not but, I needed a size between this two font sizes, to appear when the panel is not too small neither not too big. So I added another size PlasmaCore.Units.roundToIconSize(PlasmaCore.Units.gridUnit)
.
This is how is working now