We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4c63dc commit aefdbd7Copy full SHA for aefdbd7
1 file changed
construct_editor/main.py
@@ -55,7 +55,9 @@ def __init__(self, *args, **kwargs):
55
super().__init__(*args, **kwargs)
56
57
self.SetTitle("Construct Gallery")
58
- self.SetSize(1600, 1000)
+ width, height = wx.GetDisplaySize()
59
+ self.SetPosition((int(width * 5 / 100), int(height * 5 / 100)))
60
+ self.SetSize(int(width * 90 / 100), int(height * 90 / 100))
61
self.SetIcon(icon.GetIcon())
62
self.Center()
63
0 commit comments