aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/chattutorial/chapter4
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/chattutorial/chapter4
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/chattutorial/chapter4')
-rw-r--r--examples/quickcontrols/chattutorial/chapter4/ConversationPage.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quickcontrols/chattutorial/chapter4/ConversationPage.qml b/examples/quickcontrols/chattutorial/chapter4/ConversationPage.qml
index 44c39b40bd..87ed487c66 100644
--- a/examples/quickcontrols/chattutorial/chapter4/ConversationPage.qml
+++ b/examples/quickcontrols/chattutorial/chapter4/ConversationPage.qml
@@ -99,6 +99,7 @@ Page {
Pane {
id: pane
Layout.fillWidth: true
+ Layout.fillHeight: false
RowLayout {
width: parent.width
@@ -114,6 +115,7 @@ Page {
id: sendButton
text: qsTr("Send")
enabled: messageField.length > 0
+ Layout.fillWidth: false
onClicked: {
listView.model.sendMessage(root.inConversationWith, messageField.text)
messageField.text = ""