Skip to content

Commit

Permalink
pythongh-120104: IDLE: Fix padding in config and search dialogs (pyth…
Browse files Browse the repository at this point in the history
…onGH-120107)

(cherry picked from commit 4b66b6b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
  • Loading branch information
serhiy-storchaka authored and miss-islington committed Aug 6, 2024
1 parent 35bf9c6 commit 1c8833f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/idlelib/configdialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def create_widgets(self):
load_configs: Load pages except for extensions.
activate_config_changes: Tell editors to reload.
"""
self.frame = frame = Frame(self, padding="5px")
self.frame = frame = Frame(self, padding=5)
self.frame.grid(sticky="nwes")
self.note = note = Notebook(frame)
self.extpage = ExtPage(note)
Expand Down
2 changes: 1 addition & 1 deletion Lib/idlelib/searchbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def create_widgets(self):
top.wm_iconname(self.icon)
_setup_dialog(top)
self.top = top
self.frame = Frame(top, padding="5px")
self.frame = Frame(top, padding=5)
self.frame.grid(sticky="nwes")
top.grid_columnconfigure(0, weight=100)
top.grid_rowconfigure(0, weight=100)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix padding in config and search dialog windows in IDLE.

0 comments on commit 1c8833f

Please sign in to comment.