From b25db6a44b0a1161e1968170663122dc3198c4ff Mon Sep 17 00:00:00 2001 From: BA-24 <65275759+BA-24@users.noreply.github.com> Date: Wed, 6 Apr 2022 06:53:07 -0700 Subject: [PATCH 1/2] Remove white bar I noticed there was a white bar to the left in my IDLE, it stuck out like a soar thumb since I have a custom dark theme. This was not an issue with earlier versions. Changing this line of code solves this issue and leaves the color choices up to the user. --- Lib/idlelib/sidebar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/idlelib/sidebar.py b/Lib/idlelib/sidebar.py index fb1084dbf3f18b..5d0f5f687d11b4 100644 --- a/Lib/idlelib/sidebar.py +++ b/Lib/idlelib/sidebar.py @@ -454,7 +454,7 @@ def mkcmd(eventname): return "break" def grid(self): - self.canvas.grid(row=1, column=0, sticky=tk.NSEW, padx=2, pady=0) + self.canvas.grid(row=1, column=0, sticky=tk.NSEW, padx=0, pady=0) def change_callback(self): if self.is_shown: From e3fbb75371cea7c830094ce1bcc04425adc34c2d Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sun, 10 Apr 2022 20:12:10 -0400 Subject: [PATCH 2/2] Update Lib/idlelib/sidebar.py --- Lib/idlelib/sidebar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/idlelib/sidebar.py b/Lib/idlelib/sidebar.py index 5d0f5f687d11b4..6056aecb67c69c 100644 --- a/Lib/idlelib/sidebar.py +++ b/Lib/idlelib/sidebar.py @@ -454,7 +454,7 @@ def mkcmd(eventname): return "break" def grid(self): - self.canvas.grid(row=1, column=0, sticky=tk.NSEW, padx=0, pady=0) + self.canvas.grid(row=1, column=0, sticky=tk.NSEW) def change_callback(self): if self.is_shown: