Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#16131 closed defect (fixed)

wxDataViewCtrl tree expander don't work if not in leftmost column

Reported by: lpoujoulat Owned by:
Priority: normal Milestone:
Component: GUI-generic Version: dev-latest
Keywords: wxDataViewCtrl expander Cc:
Blocked By: Blocking:
Patch: yes

Description

In the generic implementation of the wxDataViewCtrl, it is not possible to click on the expander icons if the expander column is not the leftmost.
To reproduce the problem, use the dataview sample, drag any column to the left of the expander column and then try to expand.

The rectangle of the expander is not offsetted by the column origin. The attached patch fixes this.

Attachments (1)

expander.patch download (722 bytes) - added by lpoujoulat 4 months ago.

Download all attachments as: .zip

Change History (3)

Changed 4 months ago by lpoujoulat

comment:1 Changed 4 months ago by VZ

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

(In [76211]) Fix use of expander in non left most position in wxDataViewCtrl.

Correct the expander rectangle definition to work when the expander column
left boundary is not 0, i.e. if the expander column is not the left most one.

Closes #16131.

comment:2 Changed 4 months ago by VZ

(In [76216]) Fix use of expander in non left most position in wxDataViewCtrl.

Correct the expander rectangle definition to work when the expander column
left boundary is not 0, i.e. if the expander column is not the left most one.

Closes #16131.

Note: See TracTickets for help on using tickets.