aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/texteditor
diff options
context:
space:
mode:
authorSanthosh Kumar <[email protected]>2024-01-19 18:06:58 +0100
committerSanthosh Kumar <[email protected]>2024-02-21 14:27:54 +0100
commit8d3ed392bb51dc70c04aa521f1380616a78be7a9 (patch)
treecbc8915d96f43b3e94e562ba1128b0508dc59d59 /examples/quickcontrols/texteditor
parent7b4221002e12716868ff21d462bc427795db4e37 (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 <[email protected]>
Diffstat (limited to 'examples/quickcontrols/texteditor')
-rw-r--r--examples/quickcontrols/texteditor/qml/+touch/texteditor.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quickcontrols/texteditor/qml/+touch/texteditor.qml b/examples/quickcontrols/texteditor/qml/+touch/texteditor.qml
index f0220f97b3..376a8341eb 100644
--- a/examples/quickcontrols/texteditor/qml/+touch/texteditor.qml
+++ b/examples/quickcontrols/texteditor/qml/+touch/texteditor.qml
@@ -85,6 +85,7 @@ ApplicationWindow {
text: "\uE809" // icon-ok
opacity: !textArea.readOnly ? 1 : 0
onClicked: textArea.readOnly = true
+ Layout.fillWidth: false
}
Label {
@@ -99,6 +100,7 @@ ApplicationWindow {
font.family: "fontello"
text: "\uF142" // icon-ellipsis-vert
onClicked: menu.open()
+ Layout.fillWidth: false
Menu {
id: menu