![]() |
|
Zoom to left upper corner instead of center - Printable Version +- AB4D Forum (https://forum.ab4d.com) +-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4) +--- Forum: ZoomPanel (https://forum.ab4d.com/forumdisplay.php?fid=8) +--- Thread: Zoom to left upper corner instead of center (/showthread.php?tid=246) |
Zoom to left upper corner instead of center - bluewater - 02-24-2012 Hi Andrej, just starting out with ZoomPanel, sorry for the newbie-ness ... When zooming in with the mouse wheel the zoom is centered, i.e. the panel content (unsurprisingly) gets bigger and at the same time moves in the direction of the upper left corner, until it may no longer be visible. I'd rather have the upper left corner as the "anchor point" when zooming, rather than the center position. How would I do this? I have been playing with SetZoom but somehow I am not getting this right. Thanks for your help bluewater RE: Zoom to left upper corner instead of center - bluewater - 03-01-2012 Ah, never mind. Took me while to realize that the zoom is always centered on the current cursor position. |