[Tkinter-discuss] Lines around Tk Widgets on Linux but not Windows

Mike Barnett mike_barnett at hotmail.com
Sat Dec 14 14:10:00 EST 2019


I figured it out!  Just took more digging.   I could swear I've set highlightthickness=0 before, but evidently not because that fixed it.


From: Mike Barnett <mike_barnett at hotmail.com>
Sent: Saturday, December 14, 2019 1:27 PM
To: Python-Tkinter <tkinter-discuss at python.org>
Subject: Lines around Tk Widgets on Linux but not Windows

I've had this problem for a very long time and have not been able to fix it regardless of what I've tried.

My tk widgets all have a white border, despite setting the border width to zero.


I don't have this problem on the Scale widget and on ttk widgets.

The buttons you see along the bottom of the attached screenshot are TK Buttons except for one of them which is a TTK Button.  The ttk one doesn't have a border.

Any clues as to what I need to configure to remove these?  They show up on Linux (including the Pi) and online on Trinket.

Thank you for any kind of clues at all for me to investigate!

-mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20191214/91b3df01/attachment.html>


More information about the Tkinter-discuss mailing list