Skip to content

Commit f6ab188

Browse files
bpo-17535: Increase line number horizontal padding by 2 pixels (GH-14959)
(cherry picked from commit 46ebd4a) Co-authored-by: Tal Einat <[email protected]>
1 parent 06e8fc9 commit f6ab188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/idlelib/sidebar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __init__(self, editwin):
5151

5252
_padx, pady = get_widget_padding(self.text)
5353
self.sidebar_text = tk.Text(self.parent, width=1, wrap=tk.NONE,
54-
padx=0, pady=pady,
54+
padx=2, pady=pady,
5555
borderwidth=0, highlightthickness=0)
5656
self.sidebar_text.config(state=tk.DISABLED)
5757
self.text['yscrollcommand'] = self.redirect_yscroll_event

0 commit comments

Comments
 (0)