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 Desktop
Commits
82a02ff8
Commit
82a02ff8
authored
Jan 07, 2021
by
Niccolò Venerandi
Browse files
Force compact representation to margins separator
parent
d6a42d6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
applets/margins-separator/contents/ui/main.qml
View file @
82a02ff8
...
...
@@ -23,15 +23,17 @@ import QtQuick.Layouts 1.0
import
org
.
kde
.
plasma
.
plasmoid
2.0
import
org
.
kde
.
plasma
.
core
2.0
as
PlasmaCore
import
org
.
kde
.
plasma
.
extras
2.0
as
PlasmaExtras
Item
{
id
:
root
Layout.minimumWidth
:
units
.
largeSpacing
Layout.preferredWidth
:
Layout
.
minimumWidth
Layout.maximumWidth
:
Layout
.
minimumWidth
Layout.minimumHeight
:
PlasmaCore
.
minimumWidth
Layout.preferredHeight
:
Layout
.
minimumHeight
Layout.maximumHeight
:
Layout
.
minimumHeight
Plasmoid.compactRepresentation
:
Item
{
Layout.minimumWidth
:
units
.
largeSpacing
Layout.preferredWidth
:
Layout
.
minimumWidth
Layout.maximumWidth
:
Layout
.
minimumWidth
Layout.minimumHeight
:
units
.
largeSpacing
Layout.preferredHeight
:
Layout
.
minimumHeight
Layout.maximumHeight
:
Layout
.
minimumHeight
}
Plasmoid.constraintHints
:
PlasmaCore
.
Types
.
MarginAreasSeparator
}
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