Keep stack proportions when resizing
Richard Gaskin
ambassador at fourthworld.com
Fri Oct 8 17:15:34 EDT 2021
I had a similar request from a client a few years ago. We couldn't find
any apps from the 21st century that do that, so instead we opted for
what we see in apps from Apple and many others:
We leave the user in control of their desired window size, and adjust
our media in the content region proportionately, with a dark gray
background filling in any edge gaps.
Bonus that it's also super easy to implement.
--
Richard Gaskin
Fourth World Systems
Devin Asay wrote:
> I asked this question several years ago and what I gathered is that
> it’s not easy because window> resizing is under the control of the
> operating system, and LiveCode can’t really override it.
>
> My attempts were not completely satisfactory:
...
> On Oct 8, 2021, at 1:18 PM, Peter Bogdanoff wrote:
>
> Does anyone have a script to keep a stack’s proportions constant when
> the user is changing the stack size by dragging the lower right
> corner? This is a stack with a control containing a video or image.
> I’ve used the geometry manager for the objects within the stack but
> the stack itself needs to be shaped correctly.
More information about the use-livecode
mailing list