PDA

View Full Version : viewport scrolling in QTextEdit



johnmauer
23rd June 2010, 00:12
I have a QTextEdit with a set background. I need the text to scroll by steps of line size (determined by the font). However, when a line feed occurs at the bottom of the viewport, the viewport scrolls to make the cursor visible rather than by line steps. How can I interrupt and override this behavior. (The scroll bars are not visible.)