PDA

View Full Version : Zooming effect by scaling widgets



Cruz
29th January 2009, 20:14
Hi.

How can you implement a zooming effect by scaling all the widgets contained in a parent widget on a mouse wheel event. Is there an easier way than manually setting all the sizes, resizing the fonts and so on...phew that would be a big mess.

aamer4yu
30th January 2009, 10:19
Wouldn't setting application font do the trick ??

Cruz
30th January 2009, 12:28
Well no, because that would change the font everywhere and not only in the widgets that need to be scaled. And it's also not only the font, it's also the sizes.

jpn
1st February 2009, 09:43
The graphics view framework would be the correct tool for such things.