8000 Fix GUI element padding by machawk1 · Pull Request #556 · machawk1/wail · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix GUI element padding #556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
on:
push:
branches:
- main
pull_request:
branches:
- main
on: [push, pull_request]

jobs:
build:
Expand Down
18 changes: 9 additions & 9 deletions bundledApps/WAIL.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self):

self.notebook = wx.Notebook(panel)
self.notebook.parent = self
vbox.Add(self.notebook, 2, flag=wx.EXPAND)
vbox.Add(self.notebook, 2, flag=wx.EXPAND | wx.ALL, border=4)

panel.SetSizer(vbox)

Expand Down Expand Up @@ -844,7 +844,7 @@ def __init__(self, parent):
def draw(self):
self.sizer = wx.BoxSizer()

gs = wx.FlexGridSizer(4, 5, 0, 0)
gs = wx.FlexGridSizer(4, 5, 2, 2)

gs.AddMany(
[
Expand Down Expand Up @@ -1070,8 +1070,8 @@ def __init__(self, parent):
)

box = wx.BoxSizer(wx.VERTICAL)
box.Add(self.view_wayback_in_browser_button, 0, wx.EXPAND, 0)
box.Add(self.edit_wayback_configuration, 0, wx.EXPAND, 0)
box.Add(self.view_wayback_in_browser_button, 0, wx.EXPAND | wx.ALL, 1)
box.Add(self.edit_wayback_configuration, 0, wx.EXPAND | wx.ALL, 1)

self.SetAutoLayout(True)
self.SetSizer(box)
Expand Down Expand Up @@ -1152,8 +1152,8 @@ def __init__(self, parent):
[
self.crawl_jobs_text_ctrl_label,
self.listbox,
(self.setup_new_crawl_button, 0, wx.EXPAND),
(self.launch_webui_button, 0, wx.EXPAND),
(self.setup_new_crawl_button, 0, wx.EXPAND | wx.ALL, 1),
(self.launch_webui_button, 0, wx.EXPAND | wx.ALL, 1),
]
)

Expand Down Expand Up @@ -1513,8 +1513,8 @@ def __init__(self, parent):
config.button_label_check_for_updates)

box = wx.BoxSizer(wx.VERTICAL)
box.Add(view_archives_folder_button_button, 0, wx.EXPAND, 0)
box.Add(self.test_update, 0, wx.EXPAND, 0)
box.Add(view_archives_folder_button_button, 0, wx.EXPAND | wx.ALL, 1)
box.Add(self.test_update, 0, wx.EXPAND | wx.ALL, 1)

self.SetAutoLayout(True)
self.SetSizer(box)
Expand Down Expand Up @@ -1554,7 +1554,7 @@ def __init__(self, parent):
self.notebook = wx.Notebook(self)
self.notebook.my_status_bar = self
vbox = wx.BoxSizer(wx.VERTICAL)
vbox.Add(self.notebook, 10, flag=wx.EXPAND)
vbox.Add(self.notebook, 10, flag=wx.ALL | wx.EXPAND, border=2)

self.SetSizer(vbox)

Expand Down
0