on xenial help sign in
Since we're limiting the X i also feel like limiting the Y makes sense
commit054fd70c9bf819453aa45cbb3ed9dbad7fa50bd6 authorAlbert Astals <albert.astals@canonical.com> dateThu 16 Oct 2014, 12:56 (12 years ago) parent8e2b225
1 file changed+2
qml/Dash/ScopesListCategory.qml+2
qml/Dash/ScopesListCategory.qml+2
@@ -86,6 +86,8 @@ Item {
8686 drag.target = dragItem;
8787 drag.maximumX = 0;
8888 drag.minimumX = 0;
89+ drag.minimumY = list.y - dragItem.height / 2;
90+ drag.maximumY = list.y + list.height - dragItem.height / 2
8991 dragItem.icon = icon;
9092 dragItem.text = text;
9193 dragItem.y = mapToItem(root, 0, 0).y + units.gu(1)