Revert to old Centre logic

This commit is contained in:
Mykola Grymalyuk
2023-05-29 12:46:28 -06:00
parent 2435ea747c
commit 6ab297423e
9 changed files with 8 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)