From d985112164bd2bfeca0c895abb523d45f0e065bb Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Wed, 18 Oct 2017 11:40:51 +0800 Subject: API changes and crash fixes. Details in the changelog. --- qmidiplayer-lite/main.qml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'qmidiplayer-lite/main.qml') diff --git a/qmidiplayer-lite/main.qml b/qmidiplayer-lite/main.qml index 2fcd1ea..098c910 100644 --- a/qmidiplayer-lite/main.qml +++ b/qmidiplayer-lite/main.qml @@ -33,8 +33,9 @@ Window { id: button2 x: 170 text: qsTr("Play") + anchors.horizontalCenterOffset: 0 anchors.top: parent.top - anchors.topMargin: 172 + anchors.topMargin: 213 anchors.horizontalCenter: parent.horizontalCenter onClicked: { if(!playing) @@ -58,14 +59,14 @@ Window { Slider { id: hsTimer - y: 210 + y: 190 height: 22 anchors.right: parent.right - anchors.rightMargin: 8 + anchors.rightMargin: 0 anchors.left: parent.left - anchors.leftMargin: 8 + anchors.leftMargin: 0 anchors.bottom: parent.bottom - anchors.bottomMargin: 8 + anchors.bottomMargin: 28 tickmarksEnabled: false stepSize: 1 maximumValue: 100 @@ -132,11 +133,14 @@ Window { Text { id: fileName text: qsTr("...") + horizontalAlignment: Text.AlignHCenter color: palette.text anchors.top: parent.top anchors.topMargin: 100 anchors.horizontalCenter: parent.horizontalCenter x: 139 + width: 31 + height: 11 } Button { -- cgit v1.2.3