Page 1 of 1

Resize only page height issue

Posted: Mon Oct 31, 2016 3:31 pm
by user#606
It is some 3 years since I last used LC and I needed to update an existing stack to match the screen resolution vertically.
Using 9.1, I cannot find a way of limiting the width yet allowing the height to be altered. The horizontal setting out is fixed and resizing that is not acceptable. Only the height needs to change.
I appreciate I can resize the stack in development and tick don't resize, then compile (or whatever you call it), but I had hoped for something more refined.
What would you suggest?

Re: Resize only page height issue

Posted: Mon Oct 31, 2016 3:51 pm
by MaxV
First option (max 256 pixels):

Code: Select all

set the maxwidth of this stack to 256
Otherwise:

Code: Select all

on ResizeStack  newh, newW
   set the width of me  to 256 
   pass resizeStack
end ResizeStack

Re: Resize only page height issue

Posted: Mon Oct 31, 2016 4:21 pm
by user#606
Hi MaxV,
That will do me very well, thank you very much.
A lot of detail has changed in LC and it will take me a while to pick it up again.
For this stack, it means I can move on and use it and learn on something new.
Thank you again.