514 # these condense the ColAlignements list |
514 # these condense the ColAlignements list |
515 l = wx.ALIGN_LEFT |
515 l = wx.ALIGN_LEFT |
516 c = wx.ALIGN_CENTER |
516 c = wx.ALIGN_CENTER |
517 |
517 |
518 # Num Name Class Type Loc Init Option Doc |
518 # Num Name Class Type Loc Init Option Doc |
519 self.ColSizes = [40, 80, 100, 80, 110, 120, 100, 160] |
519 self.ColSizes = [40, 80, 100, 80, 110, 120, 100, 160] |
520 self.ColAlignements = [c, l, l, l, l, l, l, l] |
520 self.ColAlignements = [c, l, l, l, l, l, l, l] |
521 self.ColFixedSizeFlag = [True, False, True, False, True, True, True, False] |
521 self.ColFixedSizeFlag = [True, False, True, False, True, True, True, False] |
522 |
522 |
523 else: |
523 else: |
524 # this is an element that cannot have located variables |
524 # this is an element that cannot have located variables |
525 self.Table = VariableTable(self, [], GetVariableTableColnames(False)) |
525 self.Table = VariableTable(self, [], GetVariableTableColnames(False)) |
536 # these condense the ColAlignements list |
536 # these condense the ColAlignements list |
537 l = wx.ALIGN_LEFT |
537 l = wx.ALIGN_LEFT |
538 c = wx.ALIGN_CENTER |
538 c = wx.ALIGN_CENTER |
539 |
539 |
540 # Num Name Class Type Init Option Doc |
540 # Num Name Class Type Init Option Doc |
541 self.ColSizes = [40, 80, 100, 80, 120, 100, 160] |
541 self.ColSizes = [40, 80, 100, 80, 120, 100, 160] |
542 self.ColAlignements = [c, l, l, l, l, l, l] |
542 self.ColAlignements = [c, l, l, l, l, l, l] |
543 self.ColFixedSizeFlag = [True, False, True, False, True, True, False] |
543 self.ColFixedSizeFlag = [True, False, True, False, True, True, False] |
544 |
544 |
545 self.PanelWidthMin = sum(self.ColSizes) |
545 self.PanelWidthMin = sum(self.ColSizes) |
546 |
546 |
547 self.ElementType = element_type |
547 self.ElementType = element_type |