Problem in setting margin of an object on a grid
Posted
by Pawan
on Stack Overflow
See other posts from Stack Overflow
or by Pawan
Published on 2010-05-10T23:18:43Z
Indexed on
2010/05/10
23:24 UTC
Read the original article
Hit count: 312
Hi,
I have inherited a class, say CstateUI from Control class. I am creating an object of CstateUI and setting up the margin of the object. For values of margin I take mouse click points from e.getPosition(grid). The problem is the first object is correctly rendered but on subsequent objects margin is not getting set accurately. Can you please tell me what possibly might be going wrong?
Thanks in advance!
© Stack Overflow or respective owner