GUI: Strip Centre() work-around

This commit is contained in:
Mykola Grymalyuk
2023-05-29 09:28:25 -06:00
parent 984ba65d41
commit 0388eaa6f2
10 changed files with 11 additions and 59 deletions

View File

@@ -18,7 +18,7 @@ class AboutFrame(wx.Frame):
logging.info("Generating About frame")
super(AboutFrame, self).__init__(None, title="About", size=(350, 350), style=wx.DEFAULT_FRAME_STYLE & ~(wx.RESIZE_BORDER | wx.MAXIMIZE_BOX))
self.constants: constants.Constants = global_constants
gui_support.Centre(self, self.constants)
self.Centre()
self.hyperlink_colour = (25, 179, 231)
self._generate_elements(self)