Commit dcdef93b38da039faf3aaa84386c7496cf903d20
1 parent
b0ca096e
Exists in
master
and in
6 other branches
FIX: Maximize frame always at begin
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
invesalius/gui/frame.py
... | ... | @@ -55,12 +55,14 @@ class Frame(wx.Frame): |
55 | 55 | def __init__(self, prnt): |
56 | 56 | wx.Frame.__init__(self, id=-1, name='', parent=prnt, |
57 | 57 | pos=wx.Point(0, 0), |
58 | - size=wx.Size(1024, 768), #size = wx.DisplaySize(), | |
58 | + size=wx.Size(1024, 748), #size = wx.DisplaySize(), | |
59 | 59 | style=wx.DEFAULT_FRAME_STYLE, title='InVesalius 3') |
60 | 60 | self.Center(wx.BOTH) |
61 | 61 | self.SetIcon(wx.Icon(os.path.join(const.ICON_DIR, "invesalius.ico"), |
62 | 62 | wx.BITMAP_TYPE_ICO)) |
63 | 63 | |
64 | + self.Maximize() | |
65 | + #self.MacSetMetalAppearance(True) | |
64 | 66 | # Set menus, status and task bar |
65 | 67 | self.SetMenuBar(MenuBar(self)) |
66 | 68 | self.SetStatusBar(StatusBar(self)) | ... | ... |