Skip to content

applets/kickoff: fix unaligned icon and label

Denys Madureira requested to merge (removed):work/resize-kickoff-label into master

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

simplescreenrecorder-2022-08-17_19.58.11

Merge request reports