|
|
|
@ -456,7 +456,9 @@ Item{
|
|
|
|
|
},
|
|
|
|
|
State {
|
|
|
|
|
name: "bottomLeft"
|
|
|
|
|
when: (plasmoid.location === PlasmaCore.Types.BottomEdge)&&(root.panelAlignment === Latte.Dock.Left)
|
|
|
|
|
when: (plasmoid.location === PlasmaCore.Types.BottomEdge)
|
|
|
|
|
&&(((root.panelAlignment === Latte.Dock.Left)&&(Qt.application.layoutDirection !== Qt.RightToLeft))
|
|
|
|
|
|| ((root.panelAlignment === Latte.Dock.Right)&&(Qt.application.layoutDirection === Qt.RightToLeft)))
|
|
|
|
|
|
|
|
|
|
AnchorChanges {
|
|
|
|
|
target: _mainLayout
|
|
|
|
@ -470,7 +472,9 @@ Item{
|
|
|
|
|
},
|
|
|
|
|
State {
|
|
|
|
|
name: "bottomRight"
|
|
|
|
|
when: (plasmoid.location === PlasmaCore.Types.BottomEdge)&&(root.panelAlignment === Latte.Dock.Right)
|
|
|
|
|
when: (plasmoid.location === PlasmaCore.Types.BottomEdge)
|
|
|
|
|
&&(((root.panelAlignment === Latte.Dock.Right)&&(Qt.application.layoutDirection !== Qt.RightToLeft))
|
|
|
|
|
||((root.panelAlignment === Latte.Dock.Left)&&(Qt.application.layoutDirection === Qt.RightToLeft)))
|
|
|
|
|
|
|
|
|
|
AnchorChanges {
|
|
|
|
|
target: _mainLayout
|
|
|
|
@ -499,7 +503,9 @@ Item{
|
|
|
|
|
},
|
|
|
|
|
State {
|
|
|
|
|
name: "topLeft"
|
|
|
|
|
when: (plasmoid.location === PlasmaCore.Types.TopEdge)&&(root.panelAlignment === Latte.Dock.Left)
|
|
|
|
|
when: (plasmoid.location === PlasmaCore.Types.TopEdge)
|
|
|
|
|
&&(((root.panelAlignment === Latte.Dock.Left)&&(Qt.application.layoutDirection !== Qt.RightToLeft))
|
|
|
|
|
|| ((root.panelAlignment === Latte.Dock.Right)&&(Qt.application.layoutDirection === Qt.RightToLeft)))
|
|
|
|
|
|
|
|
|
|
AnchorChanges {
|
|
|
|
|
target: _mainLayout
|
|
|
|
@ -513,7 +519,9 @@ Item{
|
|
|
|
|
},
|
|
|
|
|
State {
|
|
|
|
|
name: "topRight"
|
|
|
|
|
when: (plasmoid.location === PlasmaCore.Types.TopEdge)&&(root.panelAlignment === Latte.Dock.Right)
|
|
|
|
|
when: (plasmoid.location === PlasmaCore.Types.TopEdge)
|
|
|
|
|
&&(((root.panelAlignment === Latte.Dock.Right)&&(Qt.application.layoutDirection !== Qt.RightToLeft))
|
|
|
|
|
||((root.panelAlignment === Latte.Dock.Left)&&(Qt.application.layoutDirection === Qt.RightToLeft)))
|
|
|
|
|
|
|
|
|
|
AnchorChanges {
|
|
|
|
|
target: _mainLayout
|
|
|
|
|