[PyQt] QsciScintilla vertical scrollbar
Mpi
mpi at comxnet.dk
Fri Dec 26 00:00:17 GMT 2008
First of all - I hope this is the right place to ask questions about
QsciScintilla.
A 'default' QsciScintilla window displays a vertical scrollbar. I would
expect this to appear once the column position of the cursor exceeds the
width of the editor window - but not by default. I believe this is the
behavior found in QTextEdit, ie. no vertical scrollbar.
Here's my minimum script that reproduces the above:
import sys
from PyQt4 import Qsci, QtGui
class Editor(Qsci.QsciScintilla):
def __init__(self, parent=None):
Qsci.QsciScintilla.__init__(self, parent)
if __name__ == "__main__":
app = QtGui.QApplication(sys.argv)
editor = Editor()
editor.show()
sys.exit(app.exec_())
More information about the PyQt
mailing list