[QScintilla] Vertical scrollbars
phil at riverbankcomputing.com
Thu Feb 26 08:29:19 GMT 2009
On Thu, 26 Feb 2009 08:42:54 +0100 (CET), mpi at comxnet.dk wrote:
> When you launch the most simple QsciScintilla window (see example
> included below), the editor contains a vertical scroll bar by
> default. Is that suppose to be there?
> I would expect the scroll bar to appear when you start inserting text
> beyond the borders of the window that contains the QsciScintilla text
> editor. This is for example the behavior you find in the QTextEdit
> editor class.
> Any suggestions for fixing this?
You can manage the display of the scrollbar yourself.
For efficiency reasons Scintilla doesn't keep an accurate track of the
total height of a document so it would be very difficult to know exactly
when the scrollbar should be displayed.
More information about the QScintilla