Andre

Thank you, I solved the problem, and I think it's a generalisable trick if you 
know exactly how to compute the future size of the stack (perhaps a rare 
situation, but it's my case, the stack has only few possible sizes):
1) compute the future size of your stack
2) lock screen
3) compute the future size and position of every objet in the card
4) set their size and position. They will perhaps be outside the present 
window, but it's not a problem since the screen is locked.
5) only after that, set the new stack size.
Works perfectly well (almost) without a flick !

Jacques



Le 15 déc. 2009 à 19:45, Andre Garzia a écrit :

> Jacques,
> 
> try hiding the stack and showing it only when everything happened... it will
> flick on the screen but it might be more pleasant
> 
> On Tue, Dec 15, 2009 at 8:25 AM, Jacques Hausser 
> <jacques.haus...@unil.ch>wrote:
> 
>> Hello everybody,
>> 
>> I want to change the size of a stack:
>> 
>> command changeStackSize
>> lock screen
>> -- (computes and set the new size)
>> end changeStackSize
>> 
>> The problem is that notwithstanding the "lock screen" the change is visible
>> in two steps: first the window size, and then the content. I would like to
>> hide the change till completed. How to do ?
>> Thanks in advance
>> 
>> Jacques
>> 
>> ******************************************
>> 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.haus...@unil.ch
>> *******************************************
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> 
> 
> 
> -- 
> http://www.andregarzia.com All We Do Is Code.
> _______________________________________________
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

******************************************
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.haus...@unil.ch
*******************************************

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

Reply via email to