summaryrefslogtreecommitdiff
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTal Einat <taleinat@gmail.com>2019-07-27 06:24:37 +0300
committerTerry Jan Reedy <tjreedy@udel.edu>2019-07-26 23:24:36 -0400
commit46ebd4a6a22431ce9676546d2bbe5a6dcd1cc1c1 (patch)
tree337806b2028308b199bd175c86c69712dbcf0c60 /Lib/idlelib
parent91e49575095ca16d1b67dd8822deeb7885e421da (diff)
downloadcpython-git-46ebd4a6a22431ce9676546d2bbe5a6dcd1cc1c1.tar.gz
bpo-17535: Increase line number horizontal padding by 2 pixels (GH-14959)
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/sidebar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/sidebar.py b/Lib/idlelib/sidebar.py
index 8f9bf80b52..76964a4cdf 100644
--- a/Lib/idlelib/sidebar.py
+++ b/Lib/idlelib/sidebar.py
@@ -51,7 +51,7 @@ class BaseSideBar:
_padx, pady = get_widget_padding(self.text)
self.sidebar_text = tk.Text(self.parent, width=1, wrap=tk.NONE,
- padx=0, pady=pady,
+ padx=2, pady=pady,
borderwidth=0, highlightthickness=0)
self.sidebar_text.config(state=tk.DISABLED)
self.text['yscrollcommand'] = self.redirect_yscroll_event