diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-07-27 03:42:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-27 03:42:00 (GMT) |
commit | 9e7697b3c55e0bd8663cf0641d4718e853af2d9c (patch) | |
tree | b4ff4609bdfa03a040c74334b2905734e193d57a /Lib/idlelib/sidebar.py | |
parent | 4b6421c61e9335253ea7004f2878317b88096c30 (diff) | |
download | cpython-9e7697b3c55e0bd8663cf0641d4718e853af2d9c.zip cpython-9e7697b3c55e0bd8663cf0641d4718e853af2d9c.tar.gz cpython-9e7697b3c55e0bd8663cf0641d4718e853af2d9c.tar.bz2 |
bpo-17535: Increase line number horizontal padding by 2 pixels (GH-14959)
(cherry picked from commit 46ebd4a6a22431ce9676546d2bbe5a6dcd1cc1c1)
Co-authored-by: Tal Einat <taleinat@gmail.com>
Diffstat (limited to 'Lib/idlelib/sidebar.py')
-rw-r--r-- | Lib/idlelib/sidebar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/sidebar.py b/Lib/idlelib/sidebar.py index 8f9bf80..76964a4 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 |