aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Revest <revestflo@gmail.com>2017-11-08 21:15:01 +0100
committerFlorent Revest <revestflo@gmail.com>2017-11-08 21:15:01 +0100
commit677b91d5d86fd1aa2e2cc93e419f5235c58e6e50 (patch)
treeccaa66b8c5877e662316ee2700232faa2eef9b15
parent437a043ce1a9f328b6906ebdef956d6838df7961 (diff)
Use Labels instead of Text to factorize some code between all apps
-rw-r--r--main.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.qml b/main.qml
index 055572e..62d7ecb 100644
--- a/main.qml
+++ b/main.qml
@@ -48,11 +48,10 @@ Application {
sourceSize.height: height
}
- Text {
+ Label {
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
anchors.bottomMargin: Dims.l(7)
- color: "white"
font.pixelSize: Dims.l(5)
text: rotation + " °N Calibrated: " + calibration
}