Visitar URL original
gh-91398: Remove IDLE shell sidebar padding by BA-24 · Pull Request #32363 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
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.
  • Loading branch information
BA-24 authored Apr 6, 2022
commit b25db6a44b0a1161e1968170663122dc3198c4ff
2 changes: 1 addition & 1 deletion Lib/idlelib/sidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Comment thread
terryjreedy marked this conversation as resolved.
Outdated

def change_callback(self):
if self.is_shown:
Expand Down