Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Workspace
Commits
b693f482
Commit
b693f482
authored
Nov 09, 2020
by
Nate Graham
🔩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[OSD] Vertically center all items in the layout
BUG: 428742 FIXED-IN: 5.21
parent
36f296e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lookandfeel/contents/osd/OsdItem.qml
lookandfeel/contents/osd/OsdItem.qml
+4
-0
No files found.
lookandfeel/contents/osd/OsdItem.qml
View file @
b693f482
...
...
@@ -46,6 +46,7 @@ RowLayout {
Layout.leftMargin
:
units
.
smallSpacing
Layout.preferredWidth
:
units
.
iconSizes
.
medium
Layout.preferredHeight
:
units
.
iconSizes
.
medium
Layout.alignment
:
Qt
.
AlignVCenter
source
:
icon
visible
:
valid
}
...
...
@@ -53,6 +54,7 @@ RowLayout {
PlasmaComponents3.ProgressBar
{
id
:
progressBar
Layout.fillWidth
:
true
Layout.alignment
:
Qt
.
AlignVCenter
// So it never exceeds the minimum popup size
Layout.preferredWidth
:
1
Layout.rightMargin
:
units
.
smallSpacing
...
...
@@ -76,6 +78,7 @@ RowLayout {
Layout.fillHeight
:
true
Layout.preferredWidth
:
widestLabelSize
.
width
Layout.rightMargin
:
units
.
smallSpacing
Layout.alignment
:
Qt
.
AlignVCenter
level
:
3
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
...
...
@@ -102,6 +105,7 @@ RowLayout {
Layout.fillWidth
:
true
Layout.fillHeight
:
true
Layout.rightMargin
:
units
.
smallSpacing
Layout.alignment
:
Qt
.
AlignVCenter
level
:
3
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
...
...
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