[3.13] gh-120104: IDLE: Fix padding in config and search dialogs (GH-120107) (#122740)

gh-120104: IDLE: Fix padding in config and search dialogs (GH-120107)
(cherry picked from commit 4b66b6b7d6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-09-28 00:19:56 +02:00 committed by GitHub
parent 2df77c8daf
commit 4a58bdb49e
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 @@ 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)

View File

@ -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)

View File

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