From 30f9affd163dbd615a8e842ca837bf31c7060b36 Mon Sep 17 00:00:00 2001 From: Maximilian Goldstein Date: Fri, 30 Apr 2021 11:00:38 +0200 Subject: [PATCH] examples/quick/text/styledtext-layout.qml: Fix warnings Change-Id: I7c0133d08f306dfb813d02e40f1987e278dd3f4d Reviewed-by: Fabian Kosmale --- examples/quick/text/styledtext-layout.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/quick/text/styledtext-layout.qml b/examples/quick/text/styledtext-layout.qml index b399b638dc..a06d01fbbd 100644 --- a/examples/quick/text/styledtext-layout.qml +++ b/examples/quick/text/styledtext-layout.qml @@ -76,7 +76,7 @@ Rectangle { if (line.y + line.height >= height) { line.y -= height - main.margin - line.x = width / 2 + main.activeFocusmargin + line.x = width / 2 + main.margin } if (line.isLast) { @@ -89,8 +89,8 @@ Rectangle { Rectangle { id: lastLineMarker color: "#44cccccc" - width: theEndText.width + margin - height: theEndText.height + margin + width: theEndText.width + main.margin + height: theEndText.height + main.margin Text { id: theEndText