mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 03:50:14 +10:00
GA: Fix offline GUI building
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
name: CI - Build wxPython
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -16,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build wxPython Offline
|
name: Build Offline wxPython
|
||||||
runs-on: x86_64_mojave
|
runs-on: x86_64_mojave
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|||||||
@@ -1829,7 +1829,7 @@ class wx_python_gui:
|
|||||||
self.debug_button.Bind(wx.EVT_BUTTON, self.additional_info_menu)
|
self.debug_button.Bind(wx.EVT_BUTTON, self.additional_info_menu)
|
||||||
self.debug_button.SetPosition(wx.Point(
|
self.debug_button.SetPosition(wx.Point(
|
||||||
self.set_writeflash_checkbox.GetPosition().x,
|
self.set_writeflash_checkbox.GetPosition().x,
|
||||||
self.set_writeflash_checkbox.GetPosition().y + self.set_writeflash_checkbox.GetSize().height))
|
self.set_writeflash_checkbox.GetPosition().y + self.set_writeflash_checkbox.GetSize().height + 3))
|
||||||
self.debug_button.Center(wx.HORIZONTAL)
|
self.debug_button.Center(wx.HORIZONTAL)
|
||||||
|
|
||||||
# Button: return to main menu
|
# Button: return to main menu
|
||||||
@@ -2052,6 +2052,8 @@ class wx_python_gui:
|
|||||||
|
|
||||||
self.frame.DestroyChildren()
|
self.frame.DestroyChildren()
|
||||||
|
|
||||||
|
self.frame.SetSize(wx.Size(500, -1))
|
||||||
|
|
||||||
# Header: Additional Info
|
# Header: Additional Info
|
||||||
self.additional_info_header = wx.StaticText(self.frame, label="Developer Debug Info", pos=wx.Point(10, 10))
|
self.additional_info_header = wx.StaticText(self.frame, label="Developer Debug Info", pos=wx.Point(10, 10))
|
||||||
self.additional_info_header.SetFont(wx.Font(16, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD))
|
self.additional_info_header.SetFont(wx.Font(16, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD))
|
||||||
|
|||||||
Reference in New Issue
Block a user