Page 1 of 1

A tip for resizing projects

Posted: Thu Dec 20, 2018 7:41 pm
by tharlin
Recently I tried to resize a project smaller (having found the topic on device sizes at viewtopic.php?f=8&t=6920&p=9204 a little late). However, I kept getting the error "Cannot resize, as some objects would be positioned outside the new page size" even though I had moved the controls to within bounds already. I tracked it down to the following situation:
  • I had a subpage that scrolled horizontally, and it was approximately 1000px wide, but only about 400px tall
  • There were items toward the right of the subpage
When I tried to size the project vertically to less than 900px, I got the error. It appears that the validation code is swapping the horizontal position of the controls on the subpage with the vertical validation. The workaround was simply move the rightmost controls on the subpage to the left temporarily, resize the project, then move them back.

Re: A tip for resizing projects

Posted: Sun Dec 23, 2018 1:13 am
by cv27
Thanks for the heads up. Hope DemoPad is watching.