mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +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
|
Layout.fillWidth: true
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
text: root.text
|
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
|
font.weight: Font.Bold
|
||||||
}
|
}
|
||||||
|
|
||||||
Components.MarqueeLabel {
|
Components.MarqueeLabel {
|
||||||
// if no status is given, just use On/Off
|
// if no status is given, just use On/Off
|
||||||
inputText: status ? status : (enabled ? i18n("On") : i18n("Off"))
|
inputText: status ? status : (enabled ? i18n("On") : i18n("Off"))
|
||||||
rightPadding: root.rightPadding
|
rightPadding: 0 // root.rightPadding
|
||||||
|
opacity: 0.6
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
opacity: 0.6
|
font.pointSize: PlasmaCore.Theme.defaultFont.pointSize * 0.75
|
||||||
font.pointSize: PlasmaCore.Theme.defaultFont.pointSize * 0.8
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue