Page 1 of 1

Resizing gadgets created at run time?

Posted: Fri Apr 05, 2013 10:00 pm
by Justin
When you set a lock property on a gadget the designer handles the window size event and you don't have access to it at run time so you can't resize a gadget created at runtime.
How about putting a placeholder in the designer for a callback function that will be called after the designer has done its work in the resize event?

Re: Resizing gadgets created at run time?

Posted: Wed Aug 28, 2013 8:38 pm
by tinman
+1 from me :)

Not just for being able to further resize, but any manipulation that needs to be done after a resize event has taken place (such as redrawing the contents of a CanvasGadget to fill the resized dimensions).

Re: Resizing gadgets created at run time?

Posted: Wed Aug 28, 2013 9:02 pm
by IdeasVacuum
+ 1 (I still roll my own re-sizing)

Re: Resizing gadgets created at run time?

Posted: Thu Dec 05, 2013 9:14 am
by OnErrorGotoTrashcan
+1