Text widget -macOS - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Text widget -macOS (/thread-34914.html) |
Text widget -macOS - apffal - Sep-14-2021 When inserting results from a database into a text widget in MacOs, I get unwanted spaces between paragraphs. However this behaviour doesn´t occur in Windows. How to solve this issue ? Thanks in advance This is my relevant code Quote:< e10 = tkscrolled.ScrolledText (root, height=12, width=60, font=(‘times new roman’, 9), wrap=“word”) RE: Text widget -macOS - apffal - Sep-23-2021 I´ve solved the issue, copying the result from database to a text file and from that text file to tkinter text widget. This procedure cleans all spaces between paragraphs, as expected. |