I use wx.ListCtrl with style=wx.LC_REPORT|wx.LC_VIRTUAL.
I've a problem to set the width of a column.
why "wx.ListCtrl.SetColumnWidth(index,wx.LIST_AUTOSIZE)" doesn't run?
thank you!
I use wx.ListCtrl with style=wx.LC_REPORT|wx.LC_VIRTUAL.
I've a problem to set the width of a column.
why "wx.ListCtrl.SetColumnWidth(index,wx.LIST_AUTOSIZE)" doesn't run?
thank you!
Since it's possible for a listctrl in wx.LC_VIRTUAL mode to have billions of items, and since it's possible that only the visible items have been read from some external resource that is orders of magnitude slower to read from than internal memory, then most things that would require the list to fetch every item in the list in order to operate correctly simply don't do anything at all.
On 9/2/11 11:44 PM, Ale Ghelfi wrote:
I use wx.ListCtrl with style=wx.LC_REPORT|wx.LC_VIRTUAL.
I've a problem to set the width of a column.
why "wx.ListCtrl.SetColumnWidth(index,wx.LIST_AUTOSIZE)" doesn't run?
--
Robin Dunn
Software Craftsman