pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bartlett <cbartlet...@gmail.com>
Subject Re: Paint problem with ScrollPane Accordion panel that has a columnHeader.
Date Sun, 12 Jun 2011 13:52:07 GMT
I haven't looked at any of the code, but it does look like a bug in the
screen cast.

Some components (or renderers?) allow the background colour to be set to
'null' which results in no background being painted.
It sounds like that might be the case here.  Hopefully the workaround of
setting a background colour is OK for now.

Feel free to create a JIRA ticket - but please attach a small app
demonstrating the problem.


On 12 June 2011 20:31, Edvin Syse <edvin@sysedata.no> wrote:

> 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

View raw message