aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-lite
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2017-10-18 11:40:51 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2017-10-18 11:40:51 +0800
commitd985112164bd2bfeca0c895abb523d45f0e065bb (patch)
tree3a44ae92001c2a8cac89eb46fe74248249d6e0ea /qmidiplayer-lite
parent48dd5f9fb11f0a2e69291271d9140ebcec640117 (diff)
downloadQMidiPlayer-d985112164bd2bfeca0c895abb523d45f0e065bb.tar.xz
API changes and crash fixes.
Details in the changelog.
Diffstat (limited to 'qmidiplayer-lite')
-rw-r--r--qmidiplayer-lite/main.qml14
1 files changed, 9 insertions, 5 deletions
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 {