When inserting results from a database into a Python (last version) tkinter text widget, in macOS Catalina or Big Sur, I get unwanted spaces between paragraphs. However this behaviour doesn´t occur in Windows.
How to solve the issue ? Thanks in advance
This is my relevant code
e10 = tkscrolled.ScrolledText (root, height=12, width=60, font=(‘times new roman’, 9), wrap=“word”)
canvas.create_window(255, 295, window=e10)
………
cursor.execute(“SELECT * FROM relator” )
result = cursor.fetchall()
e10.delete(1.0, tk.END)
e10.insert(1.0, result[result.index(n)][9])