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
KScreen
Commits
a682aafa
Verified
Commit
a682aafa
authored
May 19, 2022
by
ivan tkachenko
Browse files
plasmoid: Port away from theme context property to PlasmaCore.Theme fonts
parent
a6de3265
Changes
2
Hide whitespace changes
Inline
Side-by-side
plasmoid/package/contents/ui/PresentationModeItem.qml
View file @
a682aafa
...
...
@@ -63,7 +63,7 @@ ColumnLayout {
PlasmaExtras.DescriptiveLabel
{
Layout.fillWidth
:
true
Layout.leftMargin
:
checkBoxMetrics
.
width
font
.pointSize
:
t
heme
.
smallestFont
.
pointSize
font
:
PlasmaCore
.
T
heme
.
smallestFont
text
:
i18n
(
"
This will prevent your screen and computer from turning off automatically.
"
)
wrapMode
:
Text
.
WordWrap
}
...
...
@@ -83,7 +83,7 @@ ColumnLayout {
PlasmaComponents.Label
{
Layout.fillWidth
:
true
Layout.maximumWidth
:
Math
.
min
(
PlasmaCore
.
Units
.
gridUnit
*
20
,
implicitWidth
)
font
.pointSize
:
t
heme
.
smallestFont
.
pointSize
font
:
PlasmaCore
.
T
heme
.
smallestFont
wrapMode
:
Text
.
WordWrap
elide
:
Text
.
ElideRight
textFormat
:
Text
.
PlainText
...
...
plasmoid/package/contents/ui/ScreenLayoutSelection.qml
View file @
a682aafa
...
...
@@ -86,7 +86,7 @@ ColumnLayout {
Layout.maximumWidth
:
Math
.
min
(
PlasmaCore
.
Units
.
gridUnit
*
20
,
implicitWidth
)
wrapMode
:
Text
.
Wrap
text
:
i18n
(
"
You can only apply a different screen layout when there is more than one display device plugged in.
"
)
font
.pointSize
:
t
heme
.
smallestFont
.
pointSize
font
:
PlasmaCore
.
T
heme
.
smallestFont
visible
:
false
}
}
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