mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +00:00
quicksettings: Fix delegate text size regression
This commit is contained in:
parent
02bc67af81
commit
151bb9dbfc
2 changed files with 7 additions and 7 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue