Commit 294fe92b authored by DN's avatar DN
Browse files

Set default alignement of StyledLineEdit to Left.

parent 646757bb
......@@ -43,6 +43,7 @@ class StyledLineEdit(Qt.QLineEdit):
def __init__(self, parent=None, nChar=None):
super(StyledLineEdit, self).__init__(parent)
self.__nChar = nChar
self.setAlignment(Qt.Qt.AlignLeft)
self._updateStyleSheet()
def setReadOnly(self, ro):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment