|
@ -158,6 +158,8 @@ class TabPanel(wx.Panel): |
|
|
TEXTCTRL_SIZE = (-1, -1) |
|
|
TEXTCTRL_SIZE = (-1, -1) |
|
|
SPINCTRL_SIZE = (70, -1) |
|
|
SPINCTRL_SIZE = (70, -1) |
|
|
|
|
|
|
|
|
|
|
|
CHECKLISTBOX_MAX_SIZE = (-1, 120) |
|
|
|
|
|
|
|
|
def __init__(self, parent, notebook): |
|
|
def __init__(self, parent, notebook): |
|
|
wx.Panel.__init__(self, notebook) |
|
|
wx.Panel.__init__(self, notebook) |
|
|
self.opt_manager = parent.opt_manager |
|
|
self.opt_manager = parent.opt_manager |
|
@ -218,6 +220,8 @@ class TabPanel(wx.Panel): |
|
|
else: |
|
|
else: |
|
|
checklistbox = wx.CheckListBox(self, choices=choices, style=style) |
|
|
checklistbox = wx.CheckListBox(self, choices=choices, style=style) |
|
|
|
|
|
|
|
|
|
|
|
checklistbox.SetMaxSize(self.CHECKLISTBOX_MAX_SIZE) |
|
|
|
|
|
|
|
|
return checklistbox |
|
|
return checklistbox |
|
|
|
|
|
|
|
|
|
|
|
|
|
|