Visible resizing of sub-Stack Cards

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Traxgeek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Wed Jan 09, 2013 10:11 am

Visible resizing of sub-Stack Cards

Post by Traxgeek » Sat Oct 18, 2014 11:27 am

Hi,

I'm developing an app where a MainStack script displays a sub-Stack card. Both stacks (and all cards) are configured full screen using a main-Stack 'preOpenStack' script which includes the following lines :

Code: Select all

set the fullscreenmode of me to exactFit
set the fullscreenmode of stack "sstkDialogs" to exactFit
OK. First : "fullscreenmode" is REALLY COOL ! Superb... what a lot of saved coding on my behalf... :D ( I'm not sure enough praise is handed out where praise is due so... FANTASTIC )

To my problem : The cards on the MainStack behave (mostly) without issue; they display perfectly (another :D ) BUT the first time I open any sub-Stack card it is displayed original size (smaller than my screen) in the top, left corner and then expands out to fit (UGLY). This ONLY happens the FIRST time I display a sub-Stack card - therein after any sub-Stack cards that have already been displayed appear as expected (full screen - no visual resizing is apparent :) )

I've tried opening and closing sub-Stack cards invisibly etc but... no dice...

Any ideas please ?
I'm 'getting there'... just far too slowly !
Mac (Siera) and PC (Win7)
LiveCode 8.1.2 / 7.1.1

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Visible resizing of sub-Stack Cards

Post by Simon » Sun Oct 19, 2014 1:48 am

Hi Traxgeek,
I see this as well but with my main stack.

Simon
Edit;
I just tested and this has something to do with the scripts (probably in preOpencard/stack), I have a simple project where this does not happen.
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Traxgeek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Wed Jan 09, 2013 10:11 am

Re: Visible resizing of sub-Stack Cards

Post by Traxgeek » Thu Oct 23, 2014 1:38 pm

Thanks Simon,
I'll go have a play with my cards and open / preopen scripts...
I'm 'getting there'... just far too slowly !
Mac (Siera) and PC (Win7)
LiveCode 8.1.2 / 7.1.1

Post Reply