219 |
219 |
220 typelist = None |
220 typelist = None |
221 maplist = None |
221 maplist = None |
222 for row in range(self.GetNumberRows()): |
222 for row in range(self.GetNumberRows()): |
223 editors = self.editors[row] |
223 editors = self.editors[row] |
|
224 grid.SetRowMinimalHeight(row, 28) |
|
225 grid.AutoSizeRow(row, False) |
224 for col in range(self.GetNumberCols()): |
226 for col in range(self.GetNumberCols()): |
225 editor = None |
227 editor = None |
226 renderer = None |
228 renderer = None |
227 |
229 |
228 colname = self.GetColLabelValue(col, False) |
230 colname = self.GetColLabelValue(col, False) |
462 name='AddButton', parent=self.IndexListPanel, pos=wx.Point(0, 0), |
464 name='AddButton', parent=self.IndexListPanel, pos=wx.Point(0, 0), |
463 size=wx.DefaultSize, style=0) |
465 size=wx.DefaultSize, style=0) |
464 self.AddButton.Bind(wx.EVT_BUTTON, self.OnAddButtonClick, |
466 self.AddButton.Bind(wx.EVT_BUTTON, self.OnAddButtonClick, |
465 id=ID_EDITINGPANELADDBUTTON) |
467 id=ID_EDITINGPANELADDBUTTON) |
466 |
468 |
467 self.IndexChoice = wx.Choice(choices=[], id=ID_EDITINGPANELINDEXCHOICE, |
469 self.IndexChoice = wx.ComboBox(choices=[], id=ID_EDITINGPANELINDEXCHOICE, |
468 name='IndexChoice', parent=self.IndexListPanel, pos=wx.Point(50, |
470 name='IndexChoice', parent=self.IndexListPanel, pos=wx.Point(50, |
469 0), size=wx.Size(-1, 30), style=0) |
471 0), size=wx.Size(-1, 30), style=wx.CB_READONLY) |
470 |
472 |
471 self._init_sizers() |
473 self._init_sizers() |
472 |
474 |
473 def __init__(self, parent, window, manager, editable = True): |
475 def __init__(self, parent, window, manager, editable = True): |
474 self.Editable = editable |
476 self.Editable = editable |