on xenial help sign in
Design wants that the x coordinate of the dragged item is always 0
commit8e2b225c08143bf1134bab5905eeff4ea20cc9b6 authorAlbert Astals <albert.astals@canonical.com> dateThu 16 Oct 2014, 12:52 (12 years ago) parentf80c113
1 file changed+2−1
qml/Dash/ScopesListCategory.qml+2−1
qml/Dash/ScopesListCategory.qml+2−1
@@ -84,9 +84,10 @@ Item {
8484 onPressed: {
8585 if (editMode) {
8686 drag.target = dragItem;
87+ drag.maximumX = 0;
88+ drag.minimumX = 0;
8789 dragItem.icon = icon;
8890 dragItem.text = text;
89− dragItem.x = units.gu(1)
9091 dragItem.y = mapToItem(root, 0, 0).y + units.gu(1)
9192 dragItem.visible = true;
9293 }