fixed a bug that made the reset button disappear on windows
This commit is contained in:
parent
63c5804c4c
commit
53992b9125
1 changed files with 2 additions and 2 deletions
4
main.qml
4
main.qml
|
@ -125,7 +125,7 @@ Window {
|
||||||
//state for the start page
|
//state for the start page
|
||||||
PropertyChanges { target: time; text: "Click start to start"; font.pixelSize: parent.height * 0.3 }
|
PropertyChanges { target: time; text: "Click start to start"; font.pixelSize: parent.height * 0.3 }
|
||||||
PropertyChanges { target: time_container; height: parent.height * 0.15 }
|
PropertyChanges { target: time_container; height: parent.height * 0.15 }
|
||||||
PropertyChanges { target: startButt; enabled: true; text: "start"; height: parent.height - (parent.height * 0.5); anchors.bottomMargin: parent.height * 0.5 - height * 0.5 }
|
PropertyChanges { target: startButt; enabled: true; text: "start"; height: parent.height - (parent.height * 0.5); anchors.bottomMargin: parent.height * 0.5 - startButt.height * 0.5 }
|
||||||
},
|
},
|
||||||
State {
|
State {
|
||||||
name: "STARTING"
|
name: "STARTING"
|
||||||
|
@ -145,7 +145,7 @@ Window {
|
||||||
name: "STOPPED"
|
name: "STOPPED"
|
||||||
//state when the meassuring is over
|
//state when the meassuring is over
|
||||||
PropertyChanges { target: time; text: ( root.stoppedTime / 1000 ).toFixed(3) + " sec"; font.pixelSize: parent.height * 0.1 }
|
PropertyChanges { target: time; text: ( root.stoppedTime / 1000 ).toFixed(3) + " sec"; font.pixelSize: parent.height * 0.1 }
|
||||||
PropertyChanges { target: startButt; enabled: true; text: "reset"; height: parent.height - (parent.height * 0.8); anchors.bottomMargin: parent.height * 0.2 - height * 0.5 }
|
PropertyChanges { target: startButt; enabled: true; text: "reset"; height: parent.height - (parent.height * 0.8); anchors.bottomMargin: parent.height * 0.2 - startButt.height * 0.5 }
|
||||||
PropertyChanges { target: time_container; height: parent.height * 0.8 }
|
PropertyChanges { target: time_container; height: parent.height * 0.8 }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Reference in a new issue