On Mon, 25 May 2020 20:09:38 +0200, Mike Wey wrote:
On 25-05-2020 09:34, Joel Christensen wrote:
How do I create a text view that has a vertical scoll bar, and wraps words?
I don't want it to get bigger and bigger. I've been working on a program that has two big text editing areas, but they don't have any scroll bars and they change shape. They do, do wrapping, but they change shape when adding enough text.
I tried NoteBook, but it has similar problems.
You can ad scrollbars to large widgets like textview by puttin them
inside a gtk.ScrolledWindow.
Yes, I managed to do that. I referenced Ron's work [1].
[1] https://gtkdcoding.com/2019/09/10/0069-textview-and-textbuffer.html