Size of a stack window...

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Size of a stack window...

Post by Dixie »

Good Morning…

I have a screen display of 1440 x 900…
I make a new main stack and set width : 600, height :1500….

I save the stack to the desktop.

When I then reopen the stack its size is width : 600, height : 812…
I would like the stack to be 1500 pixels high…. any ideas on how I go about this ?

Rev Enterprise 4.0.0-dp-4 build 910
Mac OS X 10.6.1
Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel »

When rev opens a stack, it checks the size against the windowBoundingRect global property, and may change your stack size if it won't fit. The easiest workaround is to save the size in a custom property and then reset the size in a preOpenStack handler in the first card of your stack.

HTH,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Post by Dixie »

Good Afternoon Jan,

Thanks for the reply... Your workaround works, but not it seems when the stack is used as a revlet... I would like the revlet to be 1500 px tall in a browser..

be well
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark »

Dear Dixie,

Have a look at the HTML code for embedding the revLet. It should be pretty straightforward.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
hliljegren
Posts: 111
Joined: Sun Aug 23, 2009 7:48 am

Post by hliljegren »

Even if this has nothing to do with your original question I must ask. Why do you need a revlet that big?
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Post by Dixie »

Mark...

Thanks for your reply, I looked at the html code for embedding the revlet and it is straight forward...

hliljegren... I am playing about matching a page constructed with html and building the same using runrev... really just to see what you can and can't do.

be well
Post Reply