Corrects stylesheet bug in textEditView

This commit is contained in:
Olivier Keshavjee 2016-03-31 10:19:18 +02:00
parent 3e698c8eea
commit 574660dc19

View file

@ -182,11 +182,12 @@ class textEditView(QTextEdit):
f = QFont() f = QFont()
f.fromString(opt["font"]) f.fromString(opt["font"])
# self.setFont(f) # self.setFont(f)
self.setStyleSheet(""" self.setStyleSheet("""QTextEdit{{
background: {bg}; background: {bg};
color: {foreground}; color: {foreground};
font-family: {ff}; font-family: {ff};
font-size: {fs}; font-size: {fs};
}}
""".format( """.format(
bg=opt["background"], bg=opt["background"],
foreground=opt["fontColor"], foreground=opt["fontColor"],