Align column's header of wxListCtrl

Max Velasques maxvelasques at gmail.com
Sat Feb 17 15:39:51 PST 2007


Hi,
   I'm using the wxWidgets 2.8.0, and I want to align the column's
header on left.
To do this I'm using something like:

wxListItem itemCol;
itemCol.m_mask =3D
wxLIST_MASK_DATA|wxLIST_MASK_STATE|wxLIST_MASK_TEXT|wxLIST_MASK_IMAGE;
itemCol.SetAlign(wxLIST_FORMAT_LEFT);
this->InsertColumn(0, itemCol);

But this doesn't work, because I still have a space between the string
and the border(look the yellow mark on the picture attached).

Anybody knows, how do I fix this?

Thanks!!

Max

-- =

---------------------------------
Do you want portability?
Try wxWidgets (www.wxwidgets.org)

---------------------------------
Multithreaded download manager:
wxDownload Fast - http://dfast.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wxlistctrl.png
Type: image/png
Size: 15115 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070217/d1=
e57ed8/wxlistctrl.png


More information about the wx-users mailing list