summaryrefslogtreecommitdiff
path: root/examples/location/places
diff options
context:
space:
mode:
Diffstat (limited to 'examples/location/places')
-rw-r--r--examples/location/places/places.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/location/places/places.qml b/examples/location/places/places.qml
index 3ed7a7cc..23330591 100644
--- a/examples/location/places/places.qml
+++ b/examples/location/places/places.qml
@@ -497,8 +497,13 @@ Item {
MapComponent {
z: backgroundRect.z + 1
- width: page.width
- height: page.height - mainMenu.height
+
+ anchors {
+ top: searchBox.bottom
+ bottom: mainMenu.top
+ left: page.left
+ right: page.right
+ }
MapItemView {
model: placeSearchModel