summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Moreno <alexmorenocano@gmail.com>2015-10-24 21:55:37 +0800
committerSebastian Dröge <sebastian@centricular.com>2015-10-24 20:38:35 +0300
commit88f66f9572fcf0eadb2ab7ed2aafe4a6f9a94fcf (patch)
treef79405e901a57aebfd6780ea0a85dbe5975ec87a
parentc0a5e72f37b1616ce072b33f47c2799fbac7907e (diff)
qt: bind video item size to window
Fixes #119
-rw-r--r--qt/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/main.qml b/qt/main.qml
index b3eb188..c75a7b3 100644
--- a/qt/main.qml
+++ b/qt/main.qml
@@ -60,8 +60,8 @@ ApplicationWindow {
id: video
objectName: "videoItem"
anchors.centerIn: parent
- width: 640
- height: 480
+ width: parent.width
+ height: parent.height
}
FileDialog {