Draw2d Figure Translation [message #228972] |
Fri, 12 January 2007 08:19 |
Manuel Selva Messages: 189 Registered: July 2009 Location: Grenoble, France |
Senior Member |
|
|
Hi all,
Still questions concerning Draw2D (intensive use of this cool API ;0).
My Draw2D chart needs translation. Figures are layed out using an XYLayout.
When translating a figure and next call repaint on the parent of the
translated figure all is fine. The problem is that when next layout
occurs, the figure,s bounds are recomputed using previous constraints by
the XYLayout manager. Since the translate method only modifies figure's
bounds and not associated constraints the figure comes back to its
initial location.
Does any body already encountered this problem and have suggestions?
Thanks
Manu
http://manuelselva.wordpress.com/
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02556 seconds