[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Table and drawing

Hi,
i've setup a Table (SWT one) and let user select some cells using mouse.
When mouse moves over the table I change background color of cells under it...


I've noticed some problem with this mechanism on MS Vista system.
I'm not sure if it exists on XP because I didn't try it.

The problem is that when I select cells in the first column they get
something like selection - I'm not sure what is it.
When I change background of particular cell (in the first column)
the color is visible only in the begining of the cell - I see also dotted
line of selection (small rectangle - about 20% of cell's width).

When I click somewhere else in the table the previous cell becomes
normaly colored - full cell's width is covered with background color
and loses that selection rectangle.

Is there any way to get rid of this strange behaviour?


--
Piotr GÃrny, Atante
http://www.atante.pl