Allow column resize in fitting view. If a column gets resized it will maintain its width when doing a refresh.

This commit is contained in:
HomeWorld
2010-11-02 18:23:01 +02:00
parent f07b0172eb
commit 072681b939
4 changed files with 34 additions and 16 deletions

View File

@@ -28,6 +28,7 @@ class ActivityCheckbox(ViewColumn):
ViewColumn.__init__(self, fittingView)
self.resizable = False
self.size = 24
self.maxsize = self.size
self.mask = wx.LIST_MASK_WIDTH
for name, state in (("checked", wx.CONTROL_CHECKED), ("unchecked", 0)):
bitmap = wx.EmptyBitmap(16, 16)