mirror of https://github.com/python/cpython
gh-120104: IDLE: Fix padding in config and search dialogs (#120107)
This commit is contained in:
parent
4c31791848
commit
4b66b6b7d6
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Fix padding in config and search dialog windows in IDLE.
|
Loading…
Reference in New Issue