More work on the drone pane, more specificly, a pwetty + & - button (not working yet) and a bit of polish on the columns
This commit is contained in:
@@ -54,7 +54,7 @@ class AttributeDisplay(ViewColumn):
|
||||
def getText(self, mod):
|
||||
attr = mod.getModifiedItemAttr(self.info.name)
|
||||
if attr:
|
||||
return shorten(attr, 3, 0, 0)
|
||||
return (shorten(attr, 3, 0, 3))
|
||||
else:
|
||||
return ""
|
||||
|
||||
|
||||
@@ -94,8 +94,8 @@ class Display(wx.ListCtrl):
|
||||
|
||||
for i, col in enumerate(self.activeColumns):
|
||||
if not col.resized:
|
||||
self.SetColumnWidth(i, wx.LIST_AUTOSIZE)
|
||||
if self.GetColumnWidth(i) < 40:
|
||||
self.SetColumnWidth(i, col.size)
|
||||
if self.GetColumnWidth(i) < 40 and col.size == wx.LIST_AUTOSIZE:
|
||||
self.SetColumnWidth(i, 40)
|
||||
|
||||
for sel in selection:
|
||||
|
||||
Reference in New Issue
Block a user