How to write resizable gadgets

Monday, April 14, 2008 at 1:22 PM

I am constantly mentioning to people how easy it is to add resizing ability to gadgets. Only two simple steps are needed to make your gadget resizable. The first is enabling resizing by setting view.resizable to 'true'. The second part is writing code that reacts to size changes and updates the gadget's UI accordingly.

To see an example of this, please read my new article Resizable Desktop Gadgets. It discusses all the various resize modes and handlers, and how to design and implement a resizable UI.

No comments: