Change SurveysGalleryView to one column.

397
2
Jump to solution
01-29-2019 07:08 AM
TL2
by
Occasional Contributor III

I am trying to change the Survey123 Gallery to display only one column, not two side by side (as seen in the image below).  I have some experience altering the Survey123 code but am stuck on this one.  If this is relatively strait forward I would appreciate the help.

Because I will only have one survey in the app I would like it to take up the entire screen like in the second image.  Scrolling can remain the same because there will be nothing to scroll.

If I can change the column layout I can keep the anchors.fill: parent the same.

Thanks.

1 Solution

Accepted Solutions
TL2
by
Occasional Contributor III

Thanks Erwin,

This lead me to where I needed to be...

View solution in original post

2 Replies
ErwinSoekianto
Esri Regular Contributor

Hello T J, 

If you would only have one survey, I would try to play around with width and layout in the template/GalleryDelegate.qml which represent each survey item in the Gallery Page. I tried changing the width of the delegate and it seems to occupy the entire screen as you wish, but there might be other layout properties that you need to adjust to fit your needs, see image below. 

I hope this helps,

Erwin

0 Kudos
TL2
by
Occasional Contributor III

Thanks Erwin,

This lead me to where I needed to be...