Make sure we dont screw things up in Display class when the first column has wx.LIST_AUTOSIZE_USEHEADER width specified
This commit is contained in:
@@ -74,7 +74,7 @@ class Display(wx.ListCtrl):
|
||||
info.m_format = wx.LIST_FORMAT_LEFT
|
||||
self.InsertColumnInfo(i, info)
|
||||
col.resized = False
|
||||
if i == 0:
|
||||
if i == 0 and col.size != wx.LIST_AUTOSIZE_USEHEADER:
|
||||
col.size += 4
|
||||
self.SetColumnWidth(i, col.size)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user