Skip to content

Commit 4b66b6b

Browse files
gh-120104: IDLE: Fix padding in config and search dialogs (#120107)
1 parent 4c31791 commit 4b66b6b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Lib/idlelib/configdialog.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def create_widgets(self):
111111
load_configs: Load pages except for extensions.
112112
activate_config_changes: Tell editors to reload.
113113
"""
114-
self.frame = frame = Frame(self, padding="5px")
114+
self.frame = frame = Frame(self, padding=5)
115115
self.frame.grid(sticky="nwes")
116116
self.note = note = Notebook(frame)
117117
self.extpage = ExtPage(note)

Lib/idlelib/searchbase.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def create_widgets(self):
8686
top.wm_iconname(self.icon)
8787
_setup_dialog(top)
8888
self.top = top
89-
self.frame = Frame(top, padding="5px")
89+
self.frame = Frame(top, padding=5)
9090
self.frame.grid(sticky="nwes")
9191
top.grid_columnconfigure(0, weight=100)
9292
top.grid_rowconfigure(0, weight=100)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix padding in config and search dialog windows in IDLE.

0 commit comments

Comments
 (0)