Skip to content

Commit efa8409

Browse files
committed
improve UI
1 parent c3da75d commit efa8409

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

0 Bytes
Binary file not shown.

oclp_r/wx_gui/gui_main_menu.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ def _generate_elements(self) -> None:
207207
icon.SetPosition((button_x - 11, button_y + 3))
208208
icon.SetSize((68,68))
209209
if button_name == self.trans["Support"]:
210-
icon.SetPosition((button_x - 3, button_y + 3))
210+
icon.SetPosition((button_x - 8, button_y + 3))
211+
icon.SetSize((70,70))
211212
if button_name == self.trans["MetallibSupportPkg Download"]:
212213
icon.SetPosition((button_x - 7, button_y - 4))
213214
icon.SetSize((70, 70))

oclp_r/wx_gui/gui_settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(self, parent: wx.Frame, title: str, global_constants: constants.Con
5454
self.hyperlink_colour = (25, 179, 231)
5555
self.settings = self._settings()
5656

57-
self.frame_modal = wx.Dialog(parent, title=title, size=(600, 720))
57+
self.frame_modal = wx.Dialog(parent, title=title, size=(680, 800))
5858

5959
self._generate_elements(self.frame_modal)
6060
self.frame_modal.ShowWindowModal()
@@ -192,7 +192,7 @@ def _generate_elements(self, frame: wx.Frame = None) -> None:
192192

193193
if setting_info["type"] == "wrap_around":
194194
height = highest_height_reached
195-
width = 300 if width is stock_width else stock_width
195+
width = 380 if width is stock_width else stock_width
196196
continue
197197

198198
if setting_info["type"] == "checkbox":
@@ -1278,7 +1278,7 @@ def _populate_app_stats(self, panel: wx.Frame) -> None:
12781278
pprint.pformat(self.constants.computer, indent=4),
12791279
)
12801280
# TextCtrl: properties
1281-
self.app_stats = wx.TextCtrl(panel, value=lines, pos=(-1, title.GetPosition()[1] + 30), size=(600, 240), style=wx.TE_READONLY | wx.TE_MULTILINE | wx.TE_RICH2)
1281+
self.app_stats = wx.TextCtrl(panel, value=lines, pos=(-1, title.GetPosition()[1] + 30), size=(680, 240), style=wx.TE_READONLY | wx.TE_MULTILINE | wx.TE_RICH2)
12821282
self.app_stats.SetFont(gui_support.font_factory(13, wx.FONTWEIGHT_NORMAL))
12831283

12841284

0 commit comments

Comments
 (0)