Ticket #51 (closed defect)

Opened 8 years ago

Last modified 6 years ago

alignment of columns ignored on wxListCtrl

Reported by: anonymous Owned by: vadz
Priority: normal Milestone:
Component: wxGTK Version:
Keywords: Cc: vadz
Blocked By: Patch: no
Blocking:

Description

The following code does not result in a right aligned column as the docs state it should:

self.InsertColumn(column, str, format=wxLIST_FORMAT_RIGHT, width=-1)

I have heard it works on wxMSW as long as it is not the first column.

Thanks

Change History

Changed 7 years ago by anonymous

Logged In: NO

I have tried the wxListCtrl on both wxGTK and wxMSW.
Alignment does not work at all on wxGTK. Alignment works
on every column except the first one on wxMSW.

Changed 6 years ago by vadz

I've just implemented this in the generic version (the one used
by wxGTK).

Note: See TracTickets for help on using tickets.