I'm having an issue with Tkinter textbox. When you scroll appears a white line. I've wrote a simple code to let you reproduce the issue.
Note: I have this problem running the script with Python3.x, the problem doesn't show up when running it with Python2.x.
import tkinter
from tkinter import *
class StdoutRedirector(object):
def __init__(self,text_widget):
self.text_space = text_widget
def write(self,string):
self.text_space.insert('end', string)
self.text_space.see('end')
root = Tk()
root.geometry("300x300")
root.resizable(False,False)
root.title("Fattura Facile v0.2_beta")
window = Frame(root)
horiz_frame=Frame(root,height=200,width=200)
horiz_frame.pack_propagate(0)
horiz_frame.pack(side=BOTTOM)
text_box = Text(horiz_frame, wrap='word',bg="#282828",fg="white",bd=0,height=100,width=100)
text_box.pack()
sys.stdout = StdoutRedirector(text_box)
root.mainloop()
EDIT: I'm using Python 3.7.5 version , Tk 8.5 version , macOS Catalina 10.15.1 (19B88)