Hi!
How can i create a QTextEdit with some unremoveable offset? (please see the pic included). At the beginning of the browser should be some unremoveable label, and the cursor can't move left.
Hi!
How can i create a QTextEdit with some unremoveable offset? (please see the pic included). At the beginning of the browser should be some unremoveable label, and the cursor can't move left.
For a QLineEdit you can use the stylesheet property
Qt Code:
lineEdit.setStyleSheet("padding-left: 20px");To copy to clipboard, switch view to plain text mode
But for an QTextEdit, y don't know, maybe with another stylesheet.
Bookmarks