Is there anyway to completely disable the vertical scrolling of a QTextEdit? What I'm trying to do is have a wysiwyg editor to make labels and I need a fixed size text area that will stop accepting input when there is no room left. We are implementing auto sizing of the text and when the minimum text size is met and the user is out of space we want to stop accepting input. I can't seem to find a way to do this, you can disable scrollbars but the widget keeps scrolling. When I try to do the autosizing using the size of the rect it reports back the wrong size, what I really want is the viewable size of the rect.
Bookmarks