GA: Fix offline GUI building

This commit is contained in:
Mykola Grymalyuk
2022-01-03 13:33:46 -07:00
parent 3fc7424086
commit 4b6125d583
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,3 @@
name: CI - Build wxPython
on:
push:
workflow_dispatch:
@@ -16,7 +14,7 @@ on:
jobs:
build:
name: Build wxPython Offline
name: Build Offline wxPython
runs-on: x86_64_mojave
steps:
- uses: actions/checkout@v2

View File

@@ -1829,7 +1829,7 @@ class wx_python_gui:
self.debug_button.Bind(wx.EVT_BUTTON, self.additional_info_menu)
self.debug_button.SetPosition(wx.Point(
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)
# Button: return to main menu
@@ -2052,6 +2052,8 @@ class wx_python_gui:
self.frame.DestroyChildren()
self.frame.SetSize(wx.Size(500, -1))
# Header: Additional Info
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))