Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#16815 closed defect (fixed)

wxDataViewListCtrl alternate row colours do not extend to edge of control when columns resized

Reported by: tinman Owned by: vadz
Priority: normal Milestone:
Component: GUI-generic Version: 3.0.2
Keywords: Cc:
Blocked By: Blocking:
Patch: no

Description

Hello,

If you have alternate row colours enabled on wxDataViewListCtrl and then resize the columns far enough then the alternate background colours are not drawn all the way to the right edge of the control when you scroll to the right.

For example, load the dataview sample. Check File menu -> Style of panel #3 -> Alternating colours. Switch to wxDataViewListCtrl page. Grab the right side of the Progress column and stretch it so that it is about half the width of the window past the right side of the window. Scroll across to the right. The alternating colours are not shown.

Attachments (1)

wxDataViewListCtrl_AternatingColours.png download (19.7 KB) - added by tinman 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by tinman

comment:1 Changed 5 years ago by vadz

  • Owner set to vadz
  • Status changed from new to accepted

comment:2 Changed 5 years ago by VZ

  • Resolution set to fixed
  • Status changed from accepted to closed

In 78501/svn-wx:

Fix wxDV_ROW_LINES drawing when horizontally scrolled in generic version.

Use the correct, i.e. logical, as wxDC does the translation to physical
internally, coordinates for drawing the highlighted rows.

Closes #16815.

comment:3 Changed 5 years ago by VZ

In 78502/svn-wx:

Fix wxDV_ROW_LINES drawing when horizontally scrolled in generic version.

Use the correct, i.e. logical, as wxDC does the translation to physical
internally, coordinates for drawing the highlighted rows.

Closes #16815.

comment:4 Changed 5 years ago by Vadim Zeitlin <vadim@…>

In c2a4475d0805af2f563332e92a8e266f35dc7082/git-wxWidgets:

Fix wxDV_ROW_LINES drawing when horizontally scrolled in generic version.

Use the correct, i.e. logical, as wxDC does the translation to physical
internally, coordinates for drawing the highlighted rows.

Closes #16815.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

comment:5 Changed 5 years ago by Vadim Zeitlin <vadim@…>

In 64797a78ea419b24cf82fe43faf9760c51de95f0/git-wxWidgets:

Fix wxDV_ROW_LINES drawing when horizontally scrolled in generic version.

Use the correct, i.e. logical, as wxDC does the translation to physical
internally, coordinates for drawing the highlighted rows.

Closes #16815.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

Note: See TracTickets for help on using tickets.