Commit c88d3460 authored by Nate Graham's avatar Nate Graham
Browse files

Set "font:" not "font.pointSize:"

This ensures that the text uses the typeface that the user has
specified, in case they have customized it in ways other than simply
changing the size.
parent 84b2076c
......@@ -162,7 +162,7 @@ PlasmaExtras.ExpandableListItem {
Layout.fillWidth: true
horizontalAlignment: index % 2 ? Text.AlignLeft : Text.AlignRight
elide: index % 2 ? Text.ElideRight : Text.ElideNone
font.pointSize: PlasmaCore.Theme.smallestFont.pointSize
font: PlasmaCore.Theme.smallestFont
text: index % 2 ? currentDeviceDetails[index] : currentDeviceDetails[index] + ":"
textFormat: index % 2 ? Text.PlainText : Text.StyledText
......
......@@ -21,7 +21,7 @@ ColumnLayout {
elide: Text.ElideRight
font.weight: MediaPlayer && MediaPlayer.track.title ? Font.DemiBold : Font.Normal
font.italic: MediaPlayer && MediaPlayer.status == BluezQt.MediaPlayer.Playing
font.pointSize: PlasmaCore.Theme.smallestFont.pointSize
font: PlasmaCore.Theme.smallestFont
opacity: 0.6
text: trackTitleText()
textFormat: Text.PlainText
......@@ -32,7 +32,7 @@ ColumnLayout {
id: trackArtistLabel
Layout.fillWidth: true
elide: Text.ElideRight
font.pointSize: PlasmaCore.Theme.smallestFont.pointSize
font: PlasmaCore.Theme.smallestFont
opacity: 0.6
text: MediaPlayer ? MediaPlayer.track.artist : ""
textFormat: Text.PlainText
......@@ -43,7 +43,7 @@ ColumnLayout {
id: trackAlbumLabel
Layout.fillWidth: true
elide: Text.ElideRight
font.pointSize: PlasmaCore.Theme.smallestFont.pointSize
font: PlasmaCore.Theme.smallestFont
opacity: 0.6
text: MediaPlayer ? MediaPlayer.track.album : ""
textFormat: Text.PlainText
......
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