diff options
author | Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> | 2024-01-19 18:06:58 +0100 |
---|---|---|
committer | Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> | 2024-02-21 14:27:54 +0100 |
commit | 8d3ed392bb51dc70c04aa521f1380616a78be7a9 (patch) | |
tree | cbc8915d96f43b3e94e562ba1128b0508dc59d59 /tests/manual/fontfeatures | |
parent | 7b4221002e12716868ff21d462bc427795db4e37 (diff) |
Update manual tests and examples for change in default size policy
The size policy of item updated as part of task QTBUG-117597. This
patch update existing examples and manual tests that depends on quick
layout to embrace size policy change.
Task-number: QTBUG-117597
Pick-to: 6.7
Change-Id: I68469a3bba3c4d3e5ed4b6eae0fd765b5206efc0
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/manual/fontfeatures')
-rw-r--r-- | tests/manual/fontfeatures/main.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/fontfeatures/main.qml b/tests/manual/fontfeatures/main.qml index e65568dc79..74de63e4e6 100644 --- a/tests/manual/fontfeatures/main.qml +++ b/tests/manual/fontfeatures/main.qml @@ -43,6 +43,7 @@ ApplicationWindow { } ToolButton { text: "..." + Layout.fillWidth: false onClicked: fontDialog.visible = true } } @@ -51,6 +52,7 @@ ApplicationWindow { text: "This text is fine" font.family: "Calibri" font.pixelSize: 20 + Layout.fillWidth: false } TextField { id: smcpText @@ -60,6 +62,7 @@ ApplicationWindow { "pixelSize": sampleText.font.pixelSize, "features": { "smcp": 1 } } + Layout.fillWidth: false } TextField { id: noLigaturesOrKerning @@ -67,12 +70,15 @@ ApplicationWindow { font.family: sampleText.font.family font.pixelSize: sampleText.font.pixelSize font.features: { "liga": 0, "dlig": 0, "clig": 0, "hlig": 0, "kern": 0 } + Layout.fillWidth: false } ListView { id: listView height: window.height / 2 width: window.width + Layout.fillWidth: false + Layout.fillHeight: false model: [ "aalt", "abvf", "abvm", |