Setting the backgroundColor in the header seems to fix the problem:
getStyles().put("backgroundColor", Color.WHITE);
But still - the view isn't supposed to paint where the column header is
anyway, right?
Den 12.06.2011 15:23, skrev Edvin Syse:
I have an accordion that includes ScrollPanes as panels. The ScrollPanes
has a column header with some checkboxes and a TreeView as the view. If
I scroll the view vertically, the background of the column header gets
painted with the information from the treeview that was supposed to be
scrolled out of view. When I hover the mouse over it, some parts gets
repainted correctly, but not all. Kind of hard to explain, so I created
a small screencast:
http://www.screenr.com/bA8s
Am I doing something wrong or could this be a bug? Seems the mic on my
notebook is toast, the sound dissapears some places, but the video
illustrates the problem :)
-- Edvin