Skip to content

Commit

Permalink
added drag&drop disable for ScrollViews
Browse files Browse the repository at this point in the history
  • Loading branch information
LianaHus committed Nov 20, 2015
1 parent b499633 commit 7f055de
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions qml/Debugger.qml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ Rectangle {
id: machineStates
Layout.fillWidth: true
Layout.fillHeight: true
flickableItem.interactive: false
function updateHeight() {
var h = buttonRow.childrenRect.height;
if (assemblyMode)
Expand Down
1 change: 1 addition & 0 deletions qml/DeployContractStep.qml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ Rectangle {
{
anchors.fill: parent
horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff
flickableItem.interactive: false
ColumnLayout
{
spacing: 5
Expand Down
1 change: 1 addition & 0 deletions qml/DeploymentDialogSteps.qml
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ Rectangle {
{
Layout.fillHeight: true
Layout.fillWidth: true
flickableItem.interactive: false
DefaultText
{
anchors.left: parent.left
Expand Down
1 change: 1 addition & 0 deletions qml/DeploymentOptions.qml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ Rectangle
ScrollView
{
anchors.fill: parent
flickableItem.interactive: false
Rectangle
{
anchors.fill: parent
Expand Down
1 change: 1 addition & 0 deletions qml/LogsPane.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Rectangle
height: parent.height
width: parent.width
horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff
flickableItem.interactive: false
Column
{
id: logsRect
Expand Down
1 change: 1 addition & 0 deletions qml/ProjectList.qml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ScrollView
id: filesCol
property bool renameMode: false
property alias sections: sectionRepeater
flickableItem.interactive: false
ColumnLayout
{
ProjectFilesStyle
Expand Down
1 change: 1 addition & 0 deletions qml/StateList.qml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Dialog {
model: projectModel.stateListModel
itemDelegate: renderDelegate
headerDelegate: null
flickableItem.interactive: false
frameVisible: false
TableViewColumn {
role: "title"
Expand Down
1 change: 1 addition & 0 deletions qml/TransactionDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ Dialog {
anchors.top: parent.top
width: parent.width
height: parent.height - separator.height - validationRow.height
flickableItem.interactive: false
ColumnLayout {
id: colTrContent
Layout.preferredWidth: rowWidth
Expand Down
1 change: 1 addition & 0 deletions qml/VariablesView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ DebugInfoList
id: scrollVar
anchors.fill: parent
anchors.leftMargin: 10
flickableItem.interactive: false

function set(_members, _values)
{
Expand Down

0 comments on commit 7f055de

Please sign in to comment.