From a71086935d1c2b711af90287bc35bff8b6aaeb41 Mon Sep 17 00:00:00 2001 From: Jazzzny Date: Sun, 30 Nov 2025 22:47:34 -0500 Subject: [PATCH] minor ui refresh --- opencore_legacy_patcher/wx_gui/gui_main_menu.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/opencore_legacy_patcher/wx_gui/gui_main_menu.py b/opencore_legacy_patcher/wx_gui/gui_main_menu.py index 64595e332..cc57c2e22 100644 --- a/opencore_legacy_patcher/wx_gui/gui_main_menu.py +++ b/opencore_legacy_patcher/wx_gui/gui_main_menu.py @@ -72,14 +72,22 @@ class MainFrame(wx.Frame): - Text: Copyright """ + # Logo + logo = wx.StaticBitmap(self, bitmap=wx.Bitmap(str(self.constants.icns_resource_path / "OC-Patcher.icns"), wx.BITMAP_TYPE_ICON), pos=(-1, 0), size=(128, 128)) + logo.Centre(wx.HORIZONTAL) + # Title label: OpenCore Legacy Patcher v{X.Y.Z} - title_label = wx.StaticText(self, label=f"OpenCore Legacy Patcher {'' if self.constants.special_build else ''}{self.constants.patcher_version}{' (Nightly)' if not self.constants.commit_info[0].startswith('refs/tags') else ''}", pos=(-1, 10)) - title_label.SetFont(gui_support.font_factory(19, wx.FONTWEIGHT_BOLD)) + title_label = wx.StaticText(self, label=f"OpenCore Legacy Patcher", pos=(-1, 128)) + title_label.SetFont(gui_support.font_factory(25, wx.FONTWEIGHT_BOLD)) title_label.Centre(wx.HORIZONTAL) + version_label = wx.StaticText(self, label=f"Version {self.constants.patcher_version}{' (Nightly)' if not self.constants.commit_info[0].startswith('refs/tags') else ''}", pos=(-1, title_label.GetPosition()[1] + 32)) + version_label.SetFont(gui_support.font_factory(13, wx.FONTWEIGHT_NORMAL)) + version_label.Centre(wx.HORIZONTAL) + version_label.SetForegroundColour(wx.Colour(128, 128, 128)) + # Text: Model: {Build or Host Model} - model_label = wx.StaticText(self, label=f"Model: {self.constants.custom_model or self.constants.computer.real_model}", pos=(-1, title_label.GetPosition()[1] + 25 - )) + model_label = wx.StaticText(self, label=f"Model: {self.constants.custom_model or self.constants.computer.real_model}", pos=(-1, version_label.GetPosition()[1] + 30)) model_label.SetFont(gui_support.font_factory(13, wx.FONTWEIGHT_NORMAL)) model_label.Centre(wx.HORIZONTAL) self.model_label = model_label