Skip to content

Commit

Permalink
Remove the Flickable, the ColumnLayout, the Rectangle and the `…
Browse files Browse the repository at this point in the history
…ScrollIndicator`
  • Loading branch information
stdevCrow committed Jan 12, 2020
1 parent 1f975a1 commit 46ed0d1
Showing 1 changed file with 2 additions and 30 deletions.
32 changes: 2 additions & 30 deletions src/ui/Dialogs/DialogTransactionDetails.qml
Original file line number Diff line number Diff line change
Expand Up @@ -25,37 +25,9 @@ Dialog {
title: qsTr("Transaction details")
standardButtons: Dialog.Ok

Flickable {
id: flickable
TransactionDetails {
id: transactionDetails
anchors.fill: parent
clip: true
contentHeight: columnLayoutRoot.height

ColumnLayout {
id: columnLayoutRoot
width: parent.width
spacing: 20

TransactionDetails {
id: transactionDetails
implicitWidth: 500
Layout.fillWidth: true
}

Rectangle {
visible: transactionDetails.expanded
height: 1
color: Material.color(Material.Grey)
Layout.fillWidth: true
}
} // ColumnLayout

ScrollIndicator.vertical: ScrollIndicator {
parent: dialogTransactionsDetails.contentItem
anchors.top: flickable.top
anchors.bottom: flickable.bottom
anchors.right: parent.right
anchors.rightMargin: -dialogTransactionsDetails.rightPadding + 1
}
}
}

0 comments on commit 46ed0d1

Please sign in to comment.