Commit 82a02ff8 authored by Niccolò Venerandi's avatar Niccolò Venerandi
Browse files

Force compact representation to margins separator

parent d6a42d6a
...@@ -23,15 +23,17 @@ import QtQuick.Layouts 1.0 ...@@ -23,15 +23,17 @@ import QtQuick.Layouts 1.0
import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.extras 2.0 as PlasmaExtras import org.kde.plasma.extras 2.0 as PlasmaExtras
Item { Item {
id: root id: root
Layout.minimumWidth: units.largeSpacing Plasmoid.compactRepresentation: Item {
Layout.preferredWidth: Layout.minimumWidth Layout.minimumWidth: units.largeSpacing
Layout.maximumWidth: Layout.minimumWidth Layout.preferredWidth: Layout.minimumWidth
Layout.maximumWidth: Layout.minimumWidth
Layout.minimumHeight: PlasmaCore.minimumWidth
Layout.preferredHeight: Layout.minimumHeight
Layout.maximumHeight: Layout.minimumHeight
Layout.minimumHeight: units.largeSpacing
Layout.preferredHeight: Layout.minimumHeight
Layout.maximumHeight: Layout.minimumHeight
Plasmoid.constraintHints: PlasmaCore.Types.MarginAreasSeparator Plasmoid.constraintHints: PlasmaCore.Types.MarginAreasSeparator
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment