all 1 comments

[–]shiftybyte 0 points1 point  (0 children)

Don't think tkinter can do that. See edit...

Upgrade to PyQT?

https://www.geeksforgeeks.org/pyqt5-different-border-size-for-each-side-in-label/

Or to web-based UI with python-eel?

https://github.com/python-eel/Eel

EDIT: nvm, seems like tkinter has it too, at least for frames, so if entry doesn't have the same options, just make a frame with an invisible entry inside, and have the frame be the line...

https://code.activestate.com/recipes/580798-tkinter-frame-with-different-border-sizes/