[QScintilla] Vertical scrollbars

mpi at comxnet.dk mpi at comxnet.dk
Thu Feb 26 07:42:54 GMT 2009


Hi,

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?

Best regards,

Mads

Using: QScintilla-2.3.2 and PyQt-4.4.4 on Ubuntu 8.04

import sys
from PyQt4 import QtGui, Qsci

if __name__ == "__main__":
    app = QtGui.QApplication(sys.argv)

    # Setup and launch a QsciScintilla editor
    scintilla = Qsci.QsciScintilla()
    scintilla.show()

    # Setup and launch a QTextEdit editor
    text_edit = QtGui.QTextEdit()
    text_edit.show()

    sys.exit(app.exec_())


More information about the QScintilla mailing list