1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-28 09:31:37 +01:00

Added property itemTopMargin for component StandardDropdown

This commit is contained in:
Sander Ferdinand 2018-07-18 15:09:47 +02:00
parent da27e1c78b
commit 58f1e3c8a9

View File

@ -32,6 +32,7 @@ import "../components" as MoneroComponents
Item {
id: dropdown
property int itemTopMargin: 0
property alias dataModel: repeater.model
property string shadowPressedColor
property string shadowReleasedColor
@ -76,6 +77,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
anchors.topMargin: parent.itemTopMargin
height: dropdown.dropdownHeight
Rectangle {