gh-120104: IDLE: Fix padding in config and search dialogs (#120107)

This commit is contained in:
Serhiy Storchaka 2024-08-06 19:45:53 +03:00 committed by GitHub
parent 4c31791848
commit 4b66b6b7d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -111,7 +111,7 @@ class ConfigDialog(Toplevel):
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)

View File

@ -86,7 +86,7 @@ class SearchDialogBase:
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)

View File

@ -0,0 +1 @@
Fix padding in config and search dialog windows in IDLE.