Assigns the various widgets to sizers and calls a number of helper functions.
(self)
| 346 | self.SetIcon(icon) |
| 347 | |
| 348 | def __do_layout(self): |
| 349 | ''' |
| 350 | Assigns the various widgets to sizers and calls a number of helper |
| 351 | functions. |
| 352 | ''' |
| 353 | sizer_main = wx.BoxSizer(wx.VERTICAL) |
| 354 | sizer_bottom = wx.BoxSizer(wx.HORIZONTAL) |
| 355 | sizer_main.Add(self.grid, 1, wx.EXPAND, 0) |
| 356 | sizer_bottom.Add(self.status_label, 1, wx.ALIGN_CENTER_VERTICAL, 0) |
| 357 | static_line = wx.StaticLine(self, wx.ID_ANY, style=wx.LI_VERTICAL) |
| 358 | sizer_bottom.Add(static_line, 0, wx.EXPAND, 0) |
| 359 | sizer_bottom.Add(self.alpha_slider, 0, wx.ALIGN_RIGHT, 0) |
| 360 | sizer_main.Add(sizer_bottom, 0, wx.ALIGN_BOTTOM | wx.ALL | wx.EXPAND, 1) |
| 361 | self.SetSizer(sizer_main) |
| 362 | self.Layout() |
| 363 | self._restoreColWidth() |
| 364 | self._stretchLastCol() |
| 365 | |
| 366 | def _fontScaleMenu(self, lower, upper): |
| 367 | ''' |
no test coverage detected