diff --git a/applets/kickoff/package/contents/ui/KickoffButton.qml b/applets/kickoff/package/contents/ui/KickoffButton.qml index 1e87e1a0df..91b88ac778 100644 --- a/applets/kickoff/package/contents/ui/KickoffButton.qml +++ b/applets/kickoff/package/contents/ui/KickoffButton.qml @@ -61,7 +61,7 @@ PlasmaComponents.TabButton { horizontalAlignment: Text.AlignHCenter elide: Text.ElideRight wrapMode: Text.WordWrap - font.pointSize: theme.smallestFont.pointSize + font: theme.smallestFont } } } // button diff --git a/applets/kickoff/package/contents/ui/KickoffConfigurationButton.qml b/applets/kickoff/package/contents/ui/KickoffConfigurationButton.qml index a221d07848..a0c6842774 100644 --- a/applets/kickoff/package/contents/ui/KickoffConfigurationButton.qml +++ b/applets/kickoff/package/contents/ui/KickoffConfigurationButton.qml @@ -54,7 +54,7 @@ PlasmaCore.FrameSvgItem { horizontalAlignment: Text.AlignHCenter elide: Text.ElideRight color: PlasmaCore.ColorScope.textColor - font.pointSize: theme.smallestFont.pointSize + font: theme.smallestFont } } } diff --git a/applets/kickoff/package/contents/ui/KickoffItem.qml b/applets/kickoff/package/contents/ui/KickoffItem.qml index b8c92df1d2..ab26270631 100644 --- a/applets/kickoff/package/contents/ui/KickoffItem.qml +++ b/applets/kickoff/package/contents/ui/KickoffItem.qml @@ -141,7 +141,7 @@ Item { text: model.description || "" opacity: isCurrent ? 0.8 : 0.6 - font.pointSize: theme.smallestFont.pointSize + font: theme.smallestFont elide: Text.ElideMiddle horizontalAlignment: Text.AlignLeft } diff --git a/applets/taskmanager/package/contents/ui/ToolTipInstance.qml b/applets/taskmanager/package/contents/ui/ToolTipInstance.qml index 7ddeffb59a..d4ed7abfe2 100644 --- a/applets/taskmanager/package/contents/ui/ToolTipInstance.qml +++ b/applets/taskmanager/package/contents/ui/ToolTipInstance.qml @@ -281,7 +281,7 @@ ColumnLayout { lineHeight: 1 elide: parent.state ? Text.ElideNone : Text.ElideRight text: artist || "" - font.pointSize: theme.smallestFont.pointSize + font: theme.smallestFont } } } diff --git a/desktoppackage/contents/explorer/AppletAlternatives.qml b/desktoppackage/contents/explorer/AppletAlternatives.qml index b105f12688..4f7dacfa86 100644 --- a/desktoppackage/contents/explorer/AppletAlternatives.qml +++ b/desktoppackage/contents/explorer/AppletAlternatives.qml @@ -153,7 +153,7 @@ PlasmaCore.Dialog { PlasmaComponents.Label { Layout.fillWidth: true text: model.description - font.pointSize: theme.smallestFont.pointSize + font: theme.smallestFont maximumLineCount: 2 wrapMode: Text.WordWrap elide: Text.ElideRight diff --git a/desktoppackage/contents/explorer/AppletDelegate.qml b/desktoppackage/contents/explorer/AppletDelegate.qml index d6484f9b73..11ae289505 100644 --- a/desktoppackage/contents/explorer/AppletDelegate.qml +++ b/desktoppackage/contents/explorer/AppletDelegate.qml @@ -223,7 +223,7 @@ Item { // otherwise causes binding loop due to the way the Plasma sets the height height: implicitHeight text: model.description - font.pointSize: theme.smallestFont.pointSize + font: theme.smallestFont wrapMode: Text.WordWrap elide: Text.ElideRight maximumLineCount: heading.lineCount === 1 ? 3 : 2 diff --git a/kcms/workspaceoptions/package/contents/ui/main.qml b/kcms/workspaceoptions/package/contents/ui/main.qml index 79ceb05db8..1fa45c25bc 100644 --- a/kcms/workspaceoptions/package/contents/ui/main.qml +++ b/kcms/workspaceoptions/package/contents/ui/main.qml @@ -132,7 +132,7 @@ KCM.SimpleKCM { Layout.fillWidth: true text: singleClick.checked ? i18n("Select by clicking on item's selection marker") : i18n("Select by single-clicking") elide: Text.ElideRight - font.pointSize: theme.smallestFont.pointSize + font: theme.smallestFont } Item { @@ -171,7 +171,7 @@ KCM.SimpleKCM { visible: scrollbarLeftClickNavigatesByPage.checked text: i18n("Middle-click to scroll to clicked location") elide: Text.ElideRight - font.pointSize: theme.smallestFont.pointSize + font: theme.smallestFont } } }