Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Mobile
Commits
151bb9db
Commit
151bb9db
authored
Apr 28, 2022
by
Devin Lin
🎨
Browse files
quicksettings: Fix delegate text size regression
parent
02bc67af
Pipeline
#169526
passed with stage
in 1 minute and 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
components/mobileshell/qml/actiondrawer/quicksettings/QuickSettingsFullDelegate.qml
View file @
151bb9db
...
...
@@ -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
}
}
}
...
...
components/mobileshell/qml/components/MarqueeLabel.qml
View file @
151bb9db
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment