summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Gottfried <sebastian.gottfried@posteo.de>2016-11-14 08:56:05 (GMT)
committerSebastian Gottfried <sebastian.gottfried@posteo.de>2016-11-14 09:39:28 (GMT)
commit24f41455a4c0fd00a99ea1cd5311df896813a2e5 (patch)
tree2c1cf949fe7748d82d79105c92c1d4202c8d63f4
parent4d2bc88437dd5ad4d6e863b784f68641b8827dde (diff)
Fix Vertical Alignment On Training Screen
The stat boxes, the paper sheet with the training text and the keyboard visualization should all align vertically. The right side of the paper sheet was set off by the with of the scroll bar next to it. This fixed now.
-rw-r--r--src/qml/TrainingWidget.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/TrainingWidget.qml b/src/qml/TrainingWidget.qml
index cfe5605..ee304c0 100644
--- a/src/qml/TrainingWidget.qml
+++ b/src/qml/TrainingWidget.qml
@@ -89,8 +89,9 @@ FocusScope {
Rectangle {
id: sheet
color: "#fff"
- anchors.centerIn: parent
- width: parent.width - 60
+ x: 30
+ y: 30
+ width: trainingWidget.width - 60
height: lessonPainter.height
border {