wxListCtrlAutoWidthMixin question.

Hi,

Do you know why there's an unoccupied space on the upper right hand
corner of the list? You can see this if you run the demo wxListCtrl.py.
What is strange is that it generates COL_CLICK event if you click on
this area. It seems to be part of the last column.

This doesn't appear to be standard. What I expect is for the vertical
scrollbar to occupy the entire height of the list.

AL

Alfredo P. Ricafort wrote:

Hi,

Do you know why there's an unoccupied space on the upper right hand
corner of the list? You can see this if you run the demo wxListCtrl.py.
What is strange is that it generates COL_CLICK event if you click on
this area. It seems to be part of the last column.

The column id returned is -1 so it is not any column. Try usign it without the wxListCtrlAutoWidthMixin you'll get similar results depending on how the last column is sized.

This doesn't appear to be standard. What I expect is for the vertical
scrollbar to occupy the entire height of the list.

The generic wxListCtrl is composed of two windows, one for the headers and one for the scrollable area. When you think of it this way it makes perfect sense for it to look the way it does.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!