Verified Commit a682aafa authored by ivan tkachenko's avatar ivan tkachenko
Browse files

plasmoid: Port away from theme context property to PlasmaCore.Theme fonts

parent a6de3265
......@@ -63,7 +63,7 @@ ColumnLayout {
PlasmaExtras.DescriptiveLabel {
Layout.fillWidth: true
Layout.leftMargin: checkBoxMetrics.width
font.pointSize: theme.smallestFont.pointSize
font: PlasmaCore.Theme.smallestFont
text: i18n("This will prevent your screen and computer from turning off automatically.")
wrapMode: Text.WordWrap
}
......@@ -83,7 +83,7 @@ ColumnLayout {
PlasmaComponents.Label {
Layout.fillWidth: true
Layout.maximumWidth: Math.min(PlasmaCore.Units.gridUnit * 20, implicitWidth)
font.pointSize: theme.smallestFont.pointSize
font: PlasmaCore.Theme.smallestFont
wrapMode: Text.WordWrap
elide: Text.ElideRight
textFormat: Text.PlainText
......
......@@ -86,7 +86,7 @@ ColumnLayout {
Layout.maximumWidth: Math.min(PlasmaCore.Units.gridUnit * 20, implicitWidth)
wrapMode: Text.Wrap
text: i18n("You can only apply a different screen layout when there is more than one display device plugged in.")
font.pointSize: theme.smallestFont.pointSize
font: PlasmaCore.Theme.smallestFont
visible: false
}
}
Supports Markdown
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