Skip to content
GitLab
Menu
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
ba9c60f5
Commit
ba9c60f5
authored
Oct 09, 2019
by
Marco Martin
Browse files
smaller label, only one line of text
parent
5bd75786
Changes
2
Hide whitespace changes
Inline
Side-by-side
containments/homescreen/package/contents/ui/launcher/Delegate.qml
View file @
ba9c60f5
...
...
@@ -126,15 +126,14 @@ ContainmentLayoutManager.ItemContainer {
visible
:
text
.
length
>
0
Layout.fillWidth
:
true
Layout.preferredHeight
:
root
.
reservedSpaceForLabel
wrapMode
:
Text
.
WordWrap
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignTop
maximumLineCount
:
2
elide
:
Text
.
ElideRight
text
:
model
.
ApplicationNameRole
font.pixelSize
:
theme
.
defaultFont
.
pixelSize
text
:
model
.
ApplicationNameRole
.
split
(
"
"
)[
0
]
//FIXME: export smallestReadableFont
font.pixelSize
:
theme
.
defaultFont
.
pixelSize
*
0.8
color
:
model
.
ApplicationLocationRole
==
ApplicationListModel
.
Desktop
?
"
white
"
:
theme
.
textColor
layer.enabled
:
model
.
ApplicationLocationRole
==
ApplicationListModel
.
Desktop
...
...
containments/homescreen/package/contents/ui/launcher/LauncherContainer.qml
View file @
ba9c60f5
...
...
@@ -45,7 +45,7 @@ Item {
Controls.Label
{
id
:
metrics
text
:
"
M
\n
M
"
text
:
"
M
"
visible
:
false
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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