summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/qmlvideofx/qml/qmlvideofx/ParameterPanel.qml
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2014-04-14 18:36:40 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-18 20:10:23 +0200
commit4c8284de46052970de001c5c9b96c4fa365f89b4 (patch)
tree6472dde8f00634b02256bfc0650ee984acc3e3ec /examples/multimedia/video/qmlvideofx/qml/qmlvideofx/ParameterPanel.qml
parentaf73d55efffa1dca928038cd4f392eb7def7c7e1 (diff)
Rework qmlvideofx example
Task-number: QTBUG-38121 Change-Id: If06ba6ce2c66b4d735baaeb56e004861c62ea533 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Diffstat (limited to 'examples/multimedia/video/qmlvideofx/qml/qmlvideofx/ParameterPanel.qml')
-rw-r--r--examples/multimedia/video/qmlvideofx/qml/qmlvideofx/ParameterPanel.qml15
1 files changed, 5 insertions, 10 deletions
diff --git a/examples/multimedia/video/qmlvideofx/qml/qmlvideofx/ParameterPanel.qml b/examples/multimedia/video/qmlvideofx/qml/qmlvideofx/ParameterPanel.qml
index 83c0d4c8d..aa4315c9d 100644
--- a/examples/multimedia/video/qmlvideofx/qml/qmlvideofx/ParameterPanel.qml
+++ b/examples/multimedia/video/qmlvideofx/qml/qmlvideofx/ParameterPanel.qml
@@ -47,17 +47,12 @@ Rectangle {
height: view.model.count * sliderHeight
property color lineColor: "black"
property real gripSize: 25
- property real spacing: 10
- property real sliderHeight: 40
+ property real spacing: 20
+ property real sliderHeight: 60
property ListModel model: ListModel { }
- Rectangle {
- anchors.fill: parent
- color: "black"
- opacity: 0.5
- radius: 10
- }
+ anchors.topMargin: 10
Component {
id: editDelegate
@@ -77,10 +72,10 @@ Rectangle {
bottom: parent.bottom
left: parent.left
}
- font.pixelSize: 0.5 * parent.height
+ font.pixelSize: fontSize
horizontalAlignment: Text.AlignRight
verticalAlignment: Text.AlignVCenter
- width: 150
+ width: 8 * fontSize
}
Slider {