in size, this
ratio will start off in the way you want it. Then simply adjust that ratio so
that you are keeping the aspect constant.
Craig
-Original Message-
From: Devin Asay
To: How to use LiveCode
Sent: Tue, Sep 23, 2014 11:26 am
Subject: Constraining window dimensions proportio
e was satisfactory, often giving erratic performance.
> What is the best way to resize a stack window and constrain it
> proportionally?
>
> Devin
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Constraining-window-dimensions-proportionally-while-r
Hi Devin:
One way to do this is to use a dedicated object for the resizer and to
calculate the new dimensions before resizing the stack.
Execute this in your message box:
go url "http://www.tactilemedia.com/download/constrained.livecode";
This demonstrates one way to do a 4 x 3 ratio stack. I'm
I've never seen the window constrained while resizing, but you should be
able to look at the larger dimension after a resizeStack, and snap the
other dimension to a calculated size. Pretty quick, but not in realtime.
~Roger
On Tue, Sep 23, 2014 at 11:25 AM, Devin Asay wrote:
> Hi all,
>
> I j
Hi all,
I just posted this question on stackoverflow. But I thought I’d ask it here
where I think I’ll get some great answers, and hopefully a good answer can get
posted back to stackoverflow to make the answer more widely accessible to web
searches.
In a LiveCode project I want the end user t