Improper text wrapping
The text will go behind the scrollbar before going to the next line. The text will also go to the next line mid-word.
text.config(wrap=WORD)
You can use this ☝☝☝
or you can also do that in you text widget add attribute wrap = WORD
The error is that the Scrollbar in inside the text area.
__thisScrollBar = Scrollbar(__thisTextArea)
Instead give Scrollbar and the Text field the same parent that, in this case , __root therefore __thisScrollBar = Scrollbar(__thisTextArea) becomes
__thisScrollBar = Scrollbar(__root)
The error is that the Scrollbar in inside the text area.
__thisScrollBar = Scrollbar(__thisTextArea)Instead give Scrollbar and the Text field the same parent that, in this case , __root therefore __thisScrollBar = Scrollbar(__thisTextArea) becomes
__thisScrollBar = Scrollbar(__root)
Tested both methods. Neither work
Are you getting an error message which says something like:- cannot use pack and grid together. I saw something like that in you code. Try to fix that. On Sun, 3 Jan, 2021, 02:19 sickmind33, [email protected] wrote:
The error is that the Scrollbar in inside the text area.
__thisScrollBar = Scrollbar(__thisTextArea)
Instead give Scrollbar and the Text field the same parent that, in this case , __root therefore __thisScrollBar = Scrollbar(__thisTextArea) becomes
__thisScrollBar = Scrollbar(__root)
Tested both methods. Neither work
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/six519/Python-Notepad/issues/5#issuecomment-753527915, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP24RTDSN7IVALBYICGF47LSX6BGLANCNFSM4PK3J76A .