#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
#
# generated by wxGlade 1.0.1 on Sat Jan  2 23:51:47 2021
#

import wx

# begin wxGlade: dependencies
# end wxGlade

# begin wxGlade: extracode
# end wxGlade


class MyFrame(wx.Frame):
    def __init__(self, *args, **kwds):
        # begin wxGlade: MyFrame.__init__
        kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_FRAME_STYLE
        wx.Frame.__init__(self, *args, **kwds)
        self.SetSize((1450, 341))
        self.SetMinSize((100, 100))
        self.SetTitle("frame")

        self.panel_1 = wx.Panel(self, wx.ID_ANY)

        sizer_1 = wx.BoxSizer(wx.HORIZONTAL)

        sizer_2 = wx.BoxSizer(wx.VERTICAL)
        sizer_1.Add(sizer_2, 1, wx.EXPAND, 0)

        self.button_1 = wx.Button(self.panel_1, wx.ID_ANY, "-/-")
        sizer_2.Add(self.button_1, 0, 0, 0)

        self.button_2 = wx.Button(self.panel_1, wx.ID_ANY, "button_2 prop 1")
        sizer_2.Add(self.button_2, 1, wx.FIXED_MINSIZE, 0)

        self.button_3 = wx.Button(self.panel_1, wx.ID_ANY, "button_3 expand")
        sizer_2.Add(self.button_3, 0, wx.EXPAND, 0)

        sizer_3 = wx.BoxSizer(wx.VERTICAL)
        sizer_1.Add(sizer_3, 1, wx.EXPAND, 0)

        self.button_22 = wx.Button(self.panel_1, wx.ID_ANY, "size/-")
        self.button_22.SetMinSize((200, 30))
        sizer_3.Add(self.button_22, 0, 0, 0)

        self.button_23 = wx.Button(self.panel_1, wx.ID_ANY, "button_23")
        self.button_23.SetMinSize((200, 30))
        sizer_3.Add(self.button_23, 1, 0, 0)

        self.button_24 = wx.Button(self.panel_1, wx.ID_ANY, "button_24")
        self.button_24.SetMinSize((200, 30))
        sizer_3.Add(self.button_24, 0, wx.EXPAND, 0)

        sizer_4 = wx.BoxSizer(wx.VERTICAL)
        sizer_1.Add(sizer_4, 1, wx.EXPAND, 0)

        self.button_31 = wx.Button(self.panel_1, wx.ID_ANY, "size/max")
        self.button_31.SetMinSize((200, 30))
        self.button_31.SetMaxSize((300, 40))
        sizer_4.Add(self.button_31, 0, 0, 0)

        self.button_32 = wx.Button(self.panel_1, wx.ID_ANY, "button_32")
        self.button_32.SetMinSize((200, 30))
        self.button_32.SetMaxSize((300, 40))
        sizer_4.Add(self.button_32, 1, 0, 0)

        self.button_33 = wx.Button(self.panel_1, wx.ID_ANY, "button_33")
        self.button_33.SetMinSize((200, 30))
        self.button_33.SetMaxSize((300, 40))
        sizer_4.Add(self.button_33, 0, wx.EXPAND, 0)

        sizer_6 = wx.BoxSizer(wx.VERTICAL)
        sizer_1.Add(sizer_6, 1, wx.EXPAND, 0)

        self.button_220 = wx.Button(self.panel_1, wx.ID_ANY, "-/max")
        self.button_220.SetMaxSize((300, 40))
        sizer_6.Add(self.button_220, 0, 0, 0)

        self.button_221 = wx.Button(self.panel_1, wx.ID_ANY, "button_221")
        self.button_221.SetMaxSize((300, 40))
        sizer_6.Add(self.button_221, 1, 0, 0)

        self.button_222 = wx.Button(self.panel_1, wx.ID_ANY, "button_222")
        self.button_222.SetMaxSize((300, 40))
        sizer_6.Add(self.button_222, 0, wx.EXPAND, 0)

        self.panel_1.SetSizer(sizer_1)

        self.Layout()
        # end wxGlade

# end of class MyFrame

class MyApp(wx.App):
    def OnInit(self):
        self.frame = MyFrame(None, wx.ID_ANY, "")
        self.SetTopWindow(self.frame)
        self.frame.Show()
        return True

# end of class MyApp

if __name__ == "__main__":
    app = MyApp(0)
    app.MainLoop()
