summaryrefslogtreecommitdiffstats
path: root/examples/video/qmlvideofx/qml/qmlvideofx/FileOpen.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/video/qmlvideofx/qml/qmlvideofx/FileOpen.qml')
-rw-r--r--examples/video/qmlvideofx/qml/qmlvideofx/FileOpen.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/video/qmlvideofx/qml/qmlvideofx/FileOpen.qml b/examples/video/qmlvideofx/qml/qmlvideofx/FileOpen.qml
index 7347f7da3..39f18ff23 100644
--- a/examples/video/qmlvideofx/qml/qmlvideofx/FileOpen.qml
+++ b/examples/video/qmlvideofx/qml/qmlvideofx/FileOpen.qml
@@ -45,6 +45,7 @@ Rectangle {
id: root
color: "white"
property int buttonHeight: 35
+ property int topMargin: 0
signal openImage
signal openVideo
@@ -53,9 +54,8 @@ Rectangle {
Rectangle {
anchors {
- topMargin: 10
- bottomMargin: 10
top: parent.top;
+ topMargin: root.topMargin
bottom: parent.bottom;
horizontalCenter: parent.horizontalCenter
}