Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
glacier-home
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
glacier-home
Commits
36070da9
Commit
36070da9
authored
Jul 06, 2017
by
eekkelund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AppLauncher] Add max&min drag areas
parent
46805191
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
LauncherItemWrapper.qml
src/qml/LauncherItemWrapper.qml
+4
-0
No files found.
src/qml/LauncherItemWrapper.qml
View file @
36070da9
...
@@ -49,6 +49,10 @@ MouseArea {
...
@@ -49,6 +49,10 @@ MouseArea {
transformOrigin
:
Item
.
Center
transformOrigin
:
Item
.
Center
onXChanged
:
moved
()
onXChanged
:
moved
()
onYChanged
:
moved
()
onYChanged
:
moved
()
drag.minimumX
:
parentItem
.
contentItem
.
x
-
width
/
2
drag.maximumX
:
parentItem
.
contentItem
.
width
+
width
/
2
drag.minimumY
:
parentItem
.
contentItem
.
y
-
height
/
2
drag.maximumY
:
parentItem
.
contentItem
.
height
+
height
/
2
onClicked
:
{
onClicked
:
{
// TODO: disallow if close mode enabled
// TODO: disallow if close mode enabled
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment