Commit 77846870 authored by Gabriel de Dietrich's avatar Gabriel de Dietrich Committed by The Qt Project
Browse files

Gallery: Allow resizing text area


Change-Id: I0ecb9cdf6ff37536fc78a4438ae102c7c5c6be9c
Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
parent ff8f3bf3
No related merge requests found
Showing with 12 additions and 0 deletions
...@@ -55,6 +55,7 @@ Item { ...@@ -55,6 +55,7 @@ Item {
anchors.margins: 8 anchors.margins: 8
spacing: 16 spacing: 16
Column { Column {
id: firstColumn
spacing: 9 spacing: 9
Row { Row {
spacing:8 spacing:8
...@@ -118,6 +119,11 @@ Item { ...@@ -118,6 +119,11 @@ Item {
Column { Column {
id: rightcol id: rightcol
spacing: 12 spacing: 12
anchors {
top: parent.top
bottom: parent.bottom
}
GroupBox { GroupBox {
id: group1 id: group1
title: "CheckBox" title: "CheckBox"
...@@ -168,6 +174,12 @@ Item { ...@@ -168,6 +174,12 @@ Item {
frame: frameCheckbox.checked frame: frameCheckbox.checked
text: loremIpsum + loremIpsum text: loremIpsum + loremIpsum
KeyNavigation.tab: button1 KeyNavigation.tab: button1
width: contentRow.width - firstColumn.width - contentRow.spacing
height: parent.height - group1.height - group2.height - 2 * parent.spacing
anchors {
right: parent.right
rightMargin: 12
}
} }
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment