Mass update for Window Layout Change
This commit is contained in:
parent
a87a5d0529
commit
03e6310834
8 changed files with 73 additions and 50 deletions
|
@ -2948,7 +2948,7 @@ class Window:
|
|||
stdout_is_rerouted = False
|
||||
stdout_location = None
|
||||
|
||||
def __init__(self, title, default_element_size=DEFAULT_ELEMENT_SIZE, default_button_element_size=(None, None),
|
||||
def __init__(self, title, layout=None, default_element_size=DEFAULT_ELEMENT_SIZE, default_button_element_size=(None, None),
|
||||
auto_size_text=None, auto_size_buttons=None, location=(None, None), size=(None, None), element_padding=None, button_color=None, font=None,
|
||||
progress_bar_color=(None, None), background_color=None, border_depth=None, auto_close=False,
|
||||
auto_close_duration=None, icon=DEFAULT_BASE64_ICON, force_toplevel=False,
|
||||
|
@ -3044,7 +3044,8 @@ class Window:
|
|||
self.MasterFrame = None # type: wx.Frame
|
||||
self.MasterPanel = None # type: wx.Panel
|
||||
self.IgnoreClose = False
|
||||
|
||||
if layout is not None:
|
||||
self.Layout(layout)
|
||||
|
||||
@classmethod
|
||||
def IncrementOpenCount(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue