Return to repo list

opet

Oblivion Proton .esp Tool
Return to HMagellan.com

commit 6409d7c0267753f00575c8ac204a5fa39fc4d4ed
parent 7379dca4dfb94fa18222b017978fb2d130184070
Author: Erik Letson <hmagellan@hmagellan.com>
Date:   Fri,  8 Jan 2021 14:27:35 -0600

added autowidthmixin

Diffstat:
Msrc/wxcustom.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/wxcustom.py b/src/wxcustom.py @@ -12,7 +12,7 @@ from wx.lib.mixins import listctrl # Section 1 - Custom wx classes # ################################# -class ESPListCtrl(wx.ListCtrl, listctrl.TextEditMixin): +class ESPListCtrl(wx.ListCtrl, listctrl.TextEditMixin, listctrl.ListCtrlAutoWidthMixin): """ ListCtrl object that is used to edit the list of esp files that should be @@ -24,6 +24,7 @@ class ESPListCtrl(wx.ListCtrl, listctrl.TextEditMixin): # Parent initialization wx.ListCtrl.__init__(self, parent, size = size, style = wx.LC_REPORT) listctrl.TextEditMixin.__init__(self) + listctrl.ListCtrlAutoWidthMixin.__init__(self) # Set values self.EnableCheckBoxes(True)