def _do_layout(self):
        """Layout sizers"""

        sizer_v = wx.BoxSizer(wx.VERTICAL)
        sizer_h = wx.BoxSizer(wx.HORIZONTAL)

        style = wx.ALL | wx.ALIGN_CENTER_HORIZONTAL | wx.ALIGN_CENTER_VERTICAL
        sizer_h.Add(self.logo_pyspread, 0, style, 10)
        sizer_h.Add(self.about_label, 0, style, 10)
        sizer_v.Add(sizer_h)
        self.SetSizer(sizer_v)
        sizer_v.Add(self.button_close, 0, style, 10)
        sizer_v.Fit(self)
        self.Layout()
        self.Centre()
def _do_layout ( self ) : sizer_v = wx . BoxSizer ( wx . VERTICAL ) sizer_h = wx . BoxSizer ( wx . HORIZONTAL ) style = wx . ALL | wx . ALIGN_CENTER_HORIZONTAL | wx . ALIGN_CENTER_VERTICAL sizer_h . Add ( self . logo_pyspread , 0 , style , 10 ) sizer_h . Add ( self . about_label , 0 , style , 10 ) sizer_v . Add ( sizer_h ) self . SetSizer ( sizer_v ) sizer_v . Add ( self . button_close , 0 , style , 10 ) sizer_v . Fit ( self ) self . Layout ( ) self . Centre ( )
Layout sizers