View Single Post
Old 23rd November 2011, 17:19   #58
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
Maybe I'm not understanding the problem correctly ,but can't you just calculate the nearest units equivalent of the new pixel position, and save that? This will cause the control to be resized once more after the mouse button is released, but this is normal for snap-to-grid designing.

Other idea is to just revert to pixels each time a mouse-resize is used.

Or maybe do all of the above and make a setting for the end user to choose the desired behavior.
MSG is offline   Reply With Quote