On 08.07.2014 at 9:44 Uhr -0700 Peter Haworth apparently wrote:
I tried that, using the formattedwidth and formattedHeight of the card as
theCardWIdth and theCardHeight (plus a few extra pixels for aesthetics).

Strangely, that works for one card but the height is incorrect ( less than
it should be) for the other card. Maybe a bug?

To my way of thinking, the way this should work is that stacks should have
a lockLocation property and then I could simply set it to true, then set
the height and width without worrying about the stack moving.

Pete

I wonder whether you are not trying to get ahead of LiveCode. When preopen thingies are running, the windows is not fully build yet (or has that changed), so normally one does not need to hide anything. But then by the same logic formattedwidth but not be "formatted" yet.

When you have 2 cards of different sizes, it might be simpler to just have two stacks (substacks) and switch between them rather than fiddle with resizing.

RObert

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to