summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-11-16 12:32:26 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-11-16 12:32:26 (GMT)
commitd36d817a8464426953da8558d3c397f0378e046e (patch)
tree614b2fb0ce4775c30721755b897a8f29437b523e /Lib/idlelib/EditorWindow.py
parent6e0889f0c71eebaf5814f4947b09155baa035188 (diff)
downloadcpython-d36d817a8464426953da8558d3c397f0378e046e.zip
cpython-d36d817a8464426953da8558d3c397f0378e046e.tar.gz
cpython-d36d817a8464426953da8558d3c397f0378e046e.tar.bz2
Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r--Lib/idlelib/EditorWindow.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 58a01dc..b5868be 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -156,6 +156,7 @@ class EditorWindow(object):
'name': 'text',
'padx': 5,
'wrap': 'none',
+ 'highlightthickness': 0,
'width': self.width,
'height': idleConf.GetOption('main', 'EditorWindow',
'height', type='int')}
@@ -380,6 +381,7 @@ class EditorWindow(object):
def set_status_bar(self):
self.status_bar = self.MultiStatusBar(self.top)
+ sep = Frame(self.top, height=1, borderwidth=1, background='grey75')
if sys.platform == "darwin":
# Insert some padding to avoid obscuring some of the statusbar
# by the resize widget.
@@ -387,6 +389,7 @@ class EditorWindow(object):
self.status_bar.set_label('column', 'Col: ?', side=RIGHT)
self.status_bar.set_label('line', 'Ln: ?', side=RIGHT)
self.status_bar.pack(side=BOTTOM, fill=X)
+ sep.pack(side=BOTTOM, fill=X)
self.text.bind("<<set-line-and-column>>", self.set_line_and_column)
self.text.event_add("<<set-line-and-column>>",
"<KeyRelease>", "<ButtonRelease>")