mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 18:24:46 +00:00
better spacing
This commit is contained in:
parent
b27e67037c
commit
f8df7b3b00
1 changed files with 5 additions and 5 deletions
|
|
@ -22,7 +22,7 @@ import QtQuick.Layouts 1.1
|
||||||
import QtQuick.Window 2.2
|
import QtQuick.Window 2.2
|
||||||
import org.kde.taskmanager 0.1 as TaskManager
|
import org.kde.taskmanager 0.1 as TaskManager
|
||||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||||
import org.kde.plasma.components 2.0 as PlasmaComponents
|
import org.kde.plasma.components 3.0 as PlasmaComponents
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: delegate
|
id: delegate
|
||||||
|
|
@ -49,7 +49,7 @@ Item {
|
||||||
Item {
|
Item {
|
||||||
anchors {
|
anchors {
|
||||||
fill: parent
|
fill: parent
|
||||||
margins: units.gridUnit
|
margins: units.smallSpacing
|
||||||
}
|
}
|
||||||
|
|
||||||
SequentialAnimation {
|
SequentialAnimation {
|
||||||
|
|
@ -75,12 +75,12 @@ Item {
|
||||||
|
|
||||||
PlasmaComponents.ToolButton {
|
PlasmaComponents.ToolButton {
|
||||||
z: 99
|
z: 99
|
||||||
iconSource: "window-close"
|
icon.name: "window-close"
|
||||||
flat: false
|
icon.width: units.iconSizes.medium
|
||||||
|
icon.height: units.iconSizes.medium
|
||||||
anchors {
|
anchors {
|
||||||
top: parent.top
|
top: parent.top
|
||||||
right: parent.right
|
right: parent.right
|
||||||
margins: -units.gridUnit/2
|
|
||||||
}
|
}
|
||||||
onClicked: {
|
onClicked: {
|
||||||
slideAnim.to = -background.width*2;
|
slideAnim.to = -background.width*2;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue