Commit de1c1c93 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Pager] Shrink label font size dynamically

Tiny font is still more useful than "..."

CCBUG: 405454

Differential Revision: https://phabricator.kde.org/D19751
parent ac353717
......@@ -195,6 +195,10 @@ MouseArea {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
font.pixelSize: Math.min(height, theme.defaultFont.pixelSize)
// unset pointSize set by PlasmaComponents.Label to avoid "Both point size and pixel size set." warning
font.pointSize: -1
z: 0 // Below windows and FrameSvg
}
}
......
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