Page 1 of 1

Resizing stack

Posted: Mon Mar 04, 2013 11:54 am
by ibe
I have a stack that I would like to resize using a custom handler. However, the drawing of the stack seems to be too cpu intensive causing flickering. I wanted to explore an option of resizing like LiveCode (with live resizing off) does by just drawing a frame and after the user releases the mouse button drawing the window in it's new size. I can't use the built-in resize because my window is a custom shape. Effectively I want to draw a rectangle outside the stack as shown in this picture.

Any ideas on how it could be done?

Re: Resizing stack

Posted: Mon Mar 04, 2013 1:07 pm
by jmburnod
Hi Ibe,
I want to draw a rectangle outside the stack
Why not a resizable substack with transparancy ?
Best regards
Jean-Marc

Re: Resizing stack

Posted: Mon Mar 04, 2013 4:12 pm
by ibe
Don't stacks that are transparent have to have their windowShape set? That brings me straight back to my original problem. If however I could have a transparent stack and be able to draw a rectangle during resizing that would solve the problem.