[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: Only when I deselect the figure, I get the the desired effect :-(

Tryed that, but couldn't find the reason. Went for another solution that worked for me.

thanks
Tomas Studva wrote:
Hi,
really some strange behaviour.
Check if is not thrown exception. (I presume you have done.)
I can only see problem in draw2d or in bad use of draw2d. Where?

first is painted horizontal line

second is painted vertical line

first is badly drawn and second OK. Why? Maybe after first line is draw, textbounds changes to correct value(by some internal draw 2D update) and second line is drawn OK.

Try to compare textbounds before and after by console or by log or by debugging.
T.S.