mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-21 13:22:29 +12:00
Corrects stylesheet bug in textEditView
This commit is contained in:
parent
3e698c8eea
commit
574660dc19
|
@ -182,11 +182,12 @@ class textEditView(QTextEdit):
|
|||
f = QFont()
|
||||
f.fromString(opt["font"])
|
||||
# self.setFont(f)
|
||||
self.setStyleSheet("""
|
||||
self.setStyleSheet("""QTextEdit{{
|
||||
background: {bg};
|
||||
color: {foreground};
|
||||
font-family: {ff};
|
||||
font-size: {fs};
|
||||
}}
|
||||
""".format(
|
||||
bg=opt["background"],
|
||||
foreground=opt["fontColor"],
|
||||
|
|
Loading…
Reference in a new issue