diff --git a/2048-qt.pro b/2048-qt.pro index 164fdc1..18c6df3 100644 --- a/2048-qt.pro +++ b/2048-qt.pro @@ -15,8 +15,8 @@ DEFINES += \ QT_NO_OPENGL # The .cpp file which was generated for your project. Feel free to hack it. SOURCES += main.cpp \ - gamemodel.cpp \ - gametile.cpp +# gamemodel.cpp \ +# gametile.cpp # Installation path # target.path = @@ -31,5 +31,5 @@ OTHER_FILES += \ android/AndroidManifest.xml HEADERS += \ - gamemodel.h \ - gametile.h +# gamemodel.h \ +# gametile.h diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index ac2caa8..f2859ef 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -1,5 +1,5 @@ - + diff --git a/qml/2048-qt/main.qml b/qml/2048-qt/main.qml index 1905efc..01272cf 100644 --- a/qml/2048-qt/main.qml +++ b/qml/2048-qt/main.qml @@ -109,7 +109,7 @@ Rectangle { anchors { top: parent.top; horizontalCenter: parent.horizontalCenter; margins: 5 } text: "SCORE" - font.pointSize: parent.height/8 + font.pixelSize: parent.height/5 font.bold: true color: "#ffffff" @@ -121,7 +121,7 @@ Rectangle { anchors { top: scoreLabel.bottom; horizontalCenter: parent.horizontalCenter; margins: 5 } text: scoreContain.score - font.pointSize: (parent.height - (scoreLabel.height + 5))/2 + font.pixelSize: (parent.height - (scoreLabel.height + 5))*0.75 font.weight: Font.Light color: "#ffffff"