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 » Sat Oct 10, 2009 8:43 am

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 » Sun Oct 11, 2009 4:13 pm

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 » Sun Oct 18, 2009 2:47 pm

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 » Sun Oct 18, 2009 3:48 pm

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
Contact:

Post by hliljegren » Mon Oct 19, 2009 11:02 pm

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 » Tue Oct 20, 2009 9:48 am

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