[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] QsciScintilla vertical scrollbar
From: Mpi <mpi () comxnet ! dk>
Date: 2008-12-26 0:00:17
Message-ID: a3eb9a0a4ffcc3963a8a4b6588aa2e71 () ws001a ! cxnet ! dk
[Download RAW message or body]
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_())
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic