Improve consistency for menu buttons

This commit is contained in:
Jazzzny
2023-09-25 20:31:24 -04:00
parent bb78f59b9d
commit 6bb274638e
3 changed files with 7 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ class BuildFrame(wx.Frame):
self.text_box = text_box
# Button: Return to Main Menu
return_button = wx.Button(frame, label="Return to Main Menu", pos=(-1, text_box.GetPosition()[1] + text_box.GetSize()[1] + 5), size=(200, 30))
return_button = wx.Button(frame, label="Return to Main Menu", pos=(-1, text_box.GetPosition()[1] + text_box.GetSize()[1] + 5), size=(150, 30))
return_button.Bind(wx.EVT_BUTTON, self.on_return_to_main_menu)
return_button.Centre(wx.HORIZONTAL)
return_button.Disable()