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 Desktop
Commits
f3b9b6d3
Commit
f3b9b6d3
authored
Dec 02, 2021
by
Fushan Wen
💬
Committed by
Nate Graham
Dec 03, 2021
Browse files
Apply 2 suggestion(s) to 1 file(s)
parent
4b85a089
Pipeline
#104908
passed with stage
in 6 minutes and 21 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
containments/panel/contents/ui/main.qml
View file @
f3b9b6d3
...
...
@@ -469,15 +469,15 @@ function checkLastSpacer() {
GridLayout
{
id
:
currentLayout
property
bool
isLayoutHorizontal
:
root
.
isHorizontal
readonly
property
bool
isLayoutHorizontal
:
root
.
isHorizontal
rowSpacing
:
PlasmaCore
.
Units
.
smallSpacing
columnSpacing
:
PlasmaCore
.
Units
.
smallSpacing
x
:
(
isLayoutHorizontal
&&
root
.
toolBox
&&
Qt
.
application
.
layoutDirection
===
Qt
.
RightToLeft
&&
plasmoid
.
editMode
)
?
root
.
toolBox
.
width
:
0
;
y
:
0
width
:
root
.
width
-
(
root
.
is
Horizontal
&&
root
.
toolBox
&&
plasmoid
.
editMode
?
root
.
toolBox
.
width
:
0
)
height
:
root
.
height
-
(
!
root
.
is
Horizontal
&&
root
.
toolBox
&&
plasmoid
.
editMode
?
root
.
toolBox
.
height
:
0
)
width
:
root
.
width
-
(
isLayout
Horizontal
&&
root
.
toolBox
&&
plasmoid
.
editMode
?
root
.
toolBox
.
width
:
0
)
height
:
root
.
height
-
(
!
isLayout
Horizontal
&&
root
.
toolBox
&&
plasmoid
.
editMode
?
root
.
toolBox
.
height
:
0
)
Layout.preferredWidth
:
{
var
width
=
0
;
...
...
Write
Preview
Supports
Markdown
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