aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-07-18 15:09:47 +0200
committerSander Ferdinand <sa.ferdinand@gmail.com>2018-07-18 16:16:48 +0200
commit58f1e3c8a9e38ab5ec4ea6b795bba94821107532 (patch)
tree8f1bca47d3e3f01cefd5733ae6e9184a3cd0c47b /components
parentda27e1c78b47fc199d1c0c433350f8324aa470d7 (diff)
downloadmonzero-gui-58f1e3c8a9e38ab5ec4ea6b795bba94821107532.tar.gz
monzero-gui-58f1e3c8a9e38ab5ec4ea6b795bba94821107532.tar.xz
monzero-gui-58f1e3c8a9e38ab5ec4ea6b795bba94821107532.zip
Added property itemTopMargin for component StandardDropdown
Diffstat (limited to 'components')
-rw-r--r--components/StandardDropdown.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/StandardDropdown.qml b/components/StandardDropdown.qml
index 7ff021ed..82f9406a 100644
--- a/components/StandardDropdown.qml
+++ b/components/StandardDropdown.qml
@@ -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 {