aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Eftevaag <oliver.eftevaag@qt.io>2021-10-06 15:57:56 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-10-08 09:51:02 +0000
commit6ed961778338af4004c87ac56299623421bd7985 (patch)
tree3f96120afe0f7077e72c99df6c02ef0f9bf09d3a
parentae7551d7fdc3ae091cecae6c80a60ecd9dc0fd18 (diff)
QQuickFontDialogImpl: Fix ValueType error
Referencing GroupBox by id rather than by parent. Change-Id: Idf5eb767539074e070a4c20336bcfa26b4e480a6 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit c96c49bcedfeb4ea47044a2cc877a2763ddd17fe) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/quickdialogs2/quickdialogs2quickimpl/qml/FontDialogContent.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickdialogs2/quickdialogs2quickimpl/qml/FontDialogContent.qml b/src/quickdialogs2/quickdialogs2quickimpl/qml/FontDialogContent.qml
index a0b7dd3861..f0d5020adf 100644
--- a/src/quickdialogs2/quickdialogs2quickimpl/qml/FontDialogContent.qml
+++ b/src/quickdialogs2/quickdialogs2quickimpl/qml/FontDialogContent.qml
@@ -247,8 +247,8 @@ GridLayout {
background: Rectangle {
y: sample.topPadding - sample.bottomPadding
- width: parent.width - sample.leftPadding + sample.rightPadding
- height: parent.height - sample.topPadding + sample.bottomPadding
+ width: sample.width - sample.leftPadding + sample.rightPadding
+ height: sample.height - sample.topPadding + sample.bottomPadding
radius: 3
}