Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable dragging elements out of their bounds #199

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions qml/EntityList.qml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Rectangle {
width: parent.width
height: parent.height
spacing: verticalSpacing
boundsBehavior: Flickable.StopAtBounds

ScrollBar.vertical: CustomScrollBar {
id: scrollBar
Expand Down Expand Up @@ -123,6 +124,7 @@ Rectangle {
spacing: verticalSpacing
topMargin: verticalSpacing
delegate: endpointListDelegate
boundsBehavior: Flickable.StopAtBounds

property int collapseHeightFlag: childrenRect.height + endpointList.topMargin
}
Expand Down Expand Up @@ -205,6 +207,7 @@ Rectangle {
delegate: locatorListDelegate
spacing: verticalSpacing
topMargin: verticalSpacing
boundsBehavior: Flickable.StopAtBounds

property int collapseHeightFlag: childrenRect.height + locatorList.topMargin
}
Expand Down
2 changes: 2 additions & 0 deletions qml/LogicalView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Rectangle {
width: parent.width
height: parent.height
spacing: verticalSpacing
boundsBehavior: Flickable.StopAtBounds

ScrollBar.vertical: CustomScrollBar {
id: scrollBar
Expand Down Expand Up @@ -129,6 +130,7 @@ Rectangle {
spacing: verticalSpacing
topMargin: verticalSpacing
delegate: topicListDelegate
boundsBehavior: Flickable.StopAtBounds

property int collapseHeightFlag: childrenRect.height + topicList.topMargin
}
Expand Down
3 changes: 3 additions & 0 deletions qml/PhysicalView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Rectangle {
width: parent.width
height: parent.height
spacing: verticalSpacing
boundsBehavior: Flickable.StopAtBounds

ScrollBar.vertical: CustomScrollBar {
id: scrollBar
Expand Down Expand Up @@ -123,6 +124,7 @@ Rectangle {
spacing: verticalSpacing
topMargin: verticalSpacing
delegate: userListDelegate
boundsBehavior: Flickable.StopAtBounds

property int collapseHeightFlag: childrenRect.height + userList.topMargin
}
Expand Down Expand Up @@ -206,6 +208,7 @@ Rectangle {
delegate: processListDelegate
spacing: verticalSpacing
topMargin: verticalSpacing
boundsBehavior: Flickable.StopAtBounds

property int collapseHeightFlag: childrenRect.height + processList.topMargin
}
Expand Down