I did this little exercise to shrink a UIComponent from center. The
component is scaled down when a button is clicked and scaled back to
its original size when the mouse is released. It seems working fine
except that the component shifts a little bit to top-left with each click.
I cannot figure
Without looking at your code, it's probably just a rounding error, IEEE
floats aren't very nice. I'd keep the original top/left value put aside for
when you return it to full size.
-Josh
On Wed, Oct 15, 2008 at 8:46 AM, gwangdesign [EMAIL PROTECTED] wrote:
I did this little exercise to shrink
IEEE floats aren't very nice.
I second that!
They make you become creative... add scale and rotation together, the IEEE
floats start to float away.
Mike
On Tue, Oct 14, 2008 at 6:50 PM, Josh McDonald [EMAIL PROTECTED] wrote:
Without looking at your code, it's probably just a rounding
3 matches
Mail list logo