summaryrefslogtreecommitdiffstats
path: root/examples/pdf/multipage/viewer.qml
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-02-17 16:42:56 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2020-02-17 22:33:57 +0100
commit24cd9f79bf7cf21e275b73ded63ee46bcc706db3 (patch)
tree3321549de6798817eccb7678005cd662d77de189 /examples/pdf/multipage/viewer.qml
parent3b3970776c99b6ad7ac13cd8b743fc77a455b98c (diff)
Rearrange PdfPageView.qml
Now it looks more similar to PdfMultiPageView.qml: public properties and functions are grouped by functionality, implementation details are "below the fold", and properties and functions that we don't want to expose as API are nested inside inner items. Also fixed ColumnLayout attached properties. Change-Id: Iafe6f983a34ca6bac9b0d4f3a26aba5a426e0232 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples/pdf/multipage/viewer.qml')
-rw-r--r--examples/pdf/multipage/viewer.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pdf/multipage/viewer.qml b/examples/pdf/multipage/viewer.qml
index 8f102a3c1..3a6347f5a 100644
--- a/examples/pdf/multipage/viewer.qml
+++ b/examples/pdf/multipage/viewer.qml
@@ -299,8 +299,8 @@ ApplicationWindow {
}
ListView {
id: searchResultsList
- ColumnLayout.fillWidth: true
- ColumnLayout.fillHeight: true
+ Layout.fillWidth: true
+ Layout.fillHeight: true
clip: true
model: view.searchModel
ScrollBar.vertical: ScrollBar { }