Commit 151bb9db authored by Devin Lin's avatar Devin Lin 🎨
Browse files

quicksettings: Fix delegate text size regression

parent 02bc67af
Pipeline #169526 passed with stage
in 1 minute and 14 seconds
......@@ -65,18 +65,18 @@ QuickSettingsDelegate {
Layout.fillWidth: true
elide: Text.ElideRight
text: root.text
font.pointSize: PlasmaCore.Theme.defaultFont.pointSize * 0.8 // TODO base height off of size of delegate
font.pointSize: PlasmaCore.Theme.defaultFont.pointSize * 0.75 // TODO base height off of size of delegate
font.weight: Font.Bold
}
Components.MarqueeLabel {
// if no status is given, just use On/Off
inputText: status ? status : (enabled ? i18n("On") : i18n("Off"))
rightPadding: root.rightPadding
rightPadding: 0 // root.rightPadding
opacity: 0.6
Layout.fillWidth: true
opacity: 0.6
font.pointSize: PlasmaCore.Theme.defaultFont.pointSize * 0.8
font.pointSize: PlasmaCore.Theme.defaultFont.pointSize * 0.75
}
}
}
......
......@@ -27,9 +27,9 @@ PlasmaComponents.Label {
property int step: 0
TextMetrics {
id: txtMeter
font.pointSize: root.font.pointSize
text: inputText
id: txtMeter
font.pointSize: root.font.pointSize
text: inputText
}
Timer {
......
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