mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-03 19:44:35 +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 = 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"],
|
||||||
|
|
Loading…
Reference in a new issue