diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-08-06 16:45:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-06 16:45:53 (GMT) |
commit | 4b66b6b7d6e65f9eb2d61435b9b37ffeb7bb00fb (patch) | |
tree | b5d34c6e9ecb37d4c02643e8842b4977af6c0479 | |
parent | 4c317918486348ff8486168e1003be8c1daa6cf5 (diff) | |
download | cpython-4b66b6b7d6e65f9eb2d61435b9b37ffeb7bb00fb.zip cpython-4b66b6b7d6e65f9eb2d61435b9b37ffeb7bb00fb.tar.gz cpython-4b66b6b7d6e65f9eb2d61435b9b37ffeb7bb00fb.tar.bz2 |
gh-120104: IDLE: Fix padding in config and search dialogs (#120107)
-rw-r--r-- | Lib/idlelib/configdialog.py | 2 | ||||
-rw-r--r-- | Lib/idlelib/searchbase.py | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/IDLE/2024-06-05-14-54-24.gh-issue-120104.j_thj4.rst | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index eedf97b..4d2adb4 100644 --- a/Lib/idlelib/configdialog.py +++ b/Lib/idlelib/configdialog.py @@ -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) diff --git a/Lib/idlelib/searchbase.py b/Lib/idlelib/searchbase.py index 64ed50c..c68a6ca 100644 --- a/Lib/idlelib/searchbase.py +++ b/Lib/idlelib/searchbase.py @@ -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) diff --git a/Misc/NEWS.d/next/IDLE/2024-06-05-14-54-24.gh-issue-120104.j_thj4.rst b/Misc/NEWS.d/next/IDLE/2024-06-05-14-54-24.gh-issue-120104.j_thj4.rst new file mode 100644 index 0000000..10f5e34 --- /dev/null +++ b/Misc/NEWS.d/next/IDLE/2024-06-05-14-54-24.gh-issue-120104.j_thj4.rst @@ -0,0 +1 @@ +Fix padding in config and search dialog windows in IDLE. |