You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (JIRA)" <ji...@apache.org> on 2012/10/17 16:56:04 UTC

[jira] [Updated] (PIVOT-757) ScrollPane paints over columnHeader if header has no background

     [ https://issues.apache.org/jira/browse/PIVOT-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandro Martini updated PIVOT-757:
---------------------------------

    Fix Version/s:     (was: 2.0.3)
                   2.0.4
    
> ScrollPane paints over columnHeader if header has no background
> ---------------------------------------------------------------
>
>                 Key: PIVOT-757
>                 URL: https://issues.apache.org/jira/browse/PIVOT-757
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 2.0
>            Reporter: Edvin Syse
>            Assignee: Edvin Syse
>            Priority: Minor
>             Fix For: 2.0.4
>
>         Attachments: headerbug.png, scrollpane-header-bug.zip
>
>
> If the columnHeader of the ScrollPane doesn't have a background, and you scroll the view down and then trigger a repaint, the background of the columnHeader will actually be drawn on by the ScrollPane View. The following code will trigger the problem if you make the surrounding Window small enough to give you scrollbars, scroll down, and then resize the window, see attached screenshot.
>     <ScrollPane>
>         <ImageView image="@http://pivot.apache.org/images/logo.png"/>
>         <columnHeader>
>             <BoxPane>
>                 <Label text="Don't paint over me!"/>
>             </BoxPane>
>         </columnHeader>
>     </ScrollPane>
> Workaround: Make sure the BoxPane has a background color set.
> Will attach both a testcase and a screenshot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira