LiveCode IDE is resizing my stack!?
Randy Hengst
iowahengst at mac.com
Tue Oct 18 12:12:46 EDT 2011
Chris,
You could also do something like this in preOpenStack
if the environment is "development" then
set the rect of this stack to "0,0,1150,700" -- Adjust to match the size of your stack
set the decorations of this stack to default
set the loc of this stack to the screenLoc
set the shadow of this stack to false
else
set the rect of this stack to "0,0,480,320" -- Adjust to match the size of your stack
end if
be well,
randy
-----
On Oct 18, 2011, at 10:37 AM, Jacques Hausser wrote:
> Hi Chris,
>
> Try to set the fullscreen to true at the opening of the stack (and reset it to false when the stack is closed). See fullscreen in the dictionary.
>
> Jacques
>
>
> Le 18 oct. 2011 à 17:22, Chris Sheffield a écrit :
>
>> I'm working on a stack that is nearly as tall as my screen. Every time I open the stack, the LC IDE resizes it (chops off the bottom) to fit nicely in between the Mac menu bar and the dock. I don't want this to happen. I need it to be the actual size, even if it's partially obscured by something else (the dock, for example). Can I prevent this behavior somehow? And this is not the strange Mac menu bar issue where the stack resizes to compensate for a menu. I don't even have a menu set on this stack.
>>
>> I've even tried putting some code in my openStack handler to set the stack's height to what I need it to be, but this doesn't seem to be firing. Or if it is, it's firing *before* the IDE performs it's "magic", so I always end up with a chopped off bottom. :-)
>>
>> It's not the end of the world to have to resize it every time I open it, but it's a few seconds of wasted time that I could avoid.
>>
>> Thanks,
>> Chris
>>
>> --
>> Chris Sheffield
>> Read Naturally, Inc.
>> www.readnaturally.com
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ******************************************
> Prof. Jacques Hausser
> Department of Ecology and Evolution
> Biophore / Sorge
> University of Lausanne
> CH 1015 Lausanne
> please use my private address:
> 6 route de Burtigny
> CH-1269 Bassins
> tel/fax: ++ 41 22 366 19 40
> mobile: ++ 41 79 757 05 24
> E-Mail: jacques.hausser at unil.ch
> *******************************************
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list