diff options
author | kali <kali@leap.se> | 2012-11-21 06:15:41 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-11-21 06:15:41 +0900 |
commit | 53c6c92e26970de7de0bddca0034e72af7d0ce48 (patch) | |
tree | 141fedb84ecc5ffe0e14e873ce6fe3a0d3ec4de3 /src/leap/gui/styles.py | |
parent | 8ad4957531f5279cf65df36b015d83443deded33 (diff) |
add red border to failed field
Diffstat (limited to 'src/leap/gui/styles.py')
-rw-r--r-- | src/leap/gui/styles.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/leap/gui/styles.py b/src/leap/gui/styles.py index 759817ce..18c0ac97 100644 --- a/src/leap/gui/styles.py +++ b/src/leap/gui/styles.py @@ -2,3 +2,20 @@ ErrorLabelStyleSheet = """ QLabel { color: red; font-weight: bold} """ + +ErrorLineEdit = """ +QLineEdit { + border: 1px solid red; +} +""" + +# XXX this is bad. +# and you should feel bad for it. +# The original style has a sort of box color +# white/beige left-top/right-bottom or something like +# that. +RegularLineEdit = """ +QLineEdit { + border: 1px solid black; +} +""" |