mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
mouseareas touch
doesn't break flicking on touch
This commit is contained in:
parent
38459f3e78
commit
f75b55699e
1 changed files with 9 additions and 8 deletions
|
|
@ -40,11 +40,6 @@ ContainmentLayoutManager.ItemContainer {
|
||||||
Layout.minimumWidth: launcherGrid.cellWidth
|
Layout.minimumWidth: launcherGrid.cellWidth
|
||||||
Layout.minimumHeight: launcherGrid.cellHeight
|
Layout.minimumHeight: launcherGrid.cellHeight
|
||||||
|
|
||||||
leftPadding: units.smallSpacing * 2
|
|
||||||
topPadding: units.smallSpacing * 2
|
|
||||||
rightPadding: units.smallSpacing * 2
|
|
||||||
bottomPadding: units.smallSpacing * 2
|
|
||||||
|
|
||||||
opacity: dragActive ? 0.4 : 1
|
opacity: dragActive ? 0.4 : 1
|
||||||
|
|
||||||
key: model.ApplicationStorageIdRole
|
key: model.ApplicationStorageIdRole
|
||||||
|
|
@ -102,7 +97,13 @@ ContainmentLayoutManager.ItemContainer {
|
||||||
|
|
||||||
//preventStealing: true
|
//preventStealing: true
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors {
|
||||||
|
fill: parent
|
||||||
|
leftMargin: units.smallSpacing * 2
|
||||||
|
topMargin: units.smallSpacing * 2
|
||||||
|
rightMargin: units.smallSpacing * 2
|
||||||
|
bottomMargin: units.smallSpacing * 2
|
||||||
|
}
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
PlasmaCore.IconItem {
|
PlasmaCore.IconItem {
|
||||||
|
|
@ -127,8 +128,8 @@ ContainmentLayoutManager.ItemContainer {
|
||||||
visible: text.length > 0
|
visible: text.length > 0
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.leftMargin: -delegate.leftPadding
|
Layout.leftMargin: -parent.anchors.leftMargin
|
||||||
Layout.rightMargin: -delegate.rightPadding
|
Layout.rightMargin: -parent.anchors.rightMargin
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignTop
|
verticalAlignment: Text.AlignTop
|
||||||
maximumLineCount: 2
|
maximumLineCount: 2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue