diff --git a/src/activities/letter-in-word/LetterInWord.qml b/src/activities/letter-in-word/LetterInWord.qml --- a/src/activities/letter-in-word/LetterInWord.qml +++ b/src/activities/letter-in-word/LetterInWord.qml @@ -281,15 +281,16 @@ property int itemWidth: Math.min(parent.width / 7.5, parent.height / 6.5) property int itemHeight: itemWidth * 1.11 + //leftMargin is set to background.itemWidth * 0.5 because when an item is clicked, it is scaled to 1.5, hence the maximum margin should be background.itemWidth * 1.5 - background.itemWidth so that the text is prevented from disappearing when expanded GridView { id: wordsView anchors.bottom: bar.top anchors.left: parent.left anchors.right: parent.right anchors.top: planeText.bottom - anchors.topMargin: 10 * ApplicationInfo.ratio + anchors.topMargin: background.itemWidth * 0.5 anchors.leftMargin: 15 * ApplicationInfo.ratio - anchors.rightMargin: 15 * ApplicationInfo.ratio + anchors.rightMargin: repeatItem.width * 0.6 anchors.bottomMargin: 10 * ApplicationInfo.ratio cellWidth: itemWidth + 25*ApplicationInfo.ratio cellHeight: itemHeight + 15*ApplicationInfo.ratio