0

Hi all
I am attaching a Text area to my gui program.

For some reason, whenever i try to write/put a string that has a
length greater than the width of the text area,
It changes line automatically, (seems like it's not adding new line chracter to existing string, but just on the display) rather than hide beyond the Textbox area.

Since the size of string varies,
I already attached a horizontal scrollbar to this text area, and
want to use its scrolling feature, instead of the textbox changes line when it gets
a string with greater the length than its width.

Anyone have any idea how to fix this problem?
I just defined the text area normally, like

text = Text(self.frame, height=5, width=40, bg = "white")

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by woooee
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.