]> git.tdb.fi Git - xinema.git/commitdiff
Fine-tune PlaybackPage layout
authorMikko Rasa <tdb@tdb.fi>
Fri, 16 Oct 2015 22:04:23 +0000 (01:04 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 16 Oct 2015 22:04:23 +0000 (01:04 +0300)
remote/qml/pages/PlaybackPage.qml

index 345960a6c80de994d15c06dc017a865a895804fe..24817c697e6a4a5cef40bb96d3cf3e11a9bbe9ff 100644 (file)
@@ -19,12 +19,21 @@ Page
                Label
                {
                        text: streamControl.title
+                       anchors
+                       {
+                               left: parent.left
+                               right: parent.right
+                               margins: Theme.horizontalPageMargin
+                       }
+                       horizontalAlignment: Text.AlignHCenter
+                       wrapMode: Text.WordWrap
                }
 
                Slider
                {
                        id: slider
                        width: parent.width
+
                        minimumValue: 0.0
                        maximumValue: Math.max(streamControl.duration, 1.0)
                        valueText: