Fixed missing '+' in the Table and Tree elements style def

This commit is contained in:
MikeTheWatchGuy 2018-12-10 19:33:01 -05:00
parent 9e10666af1
commit 68fc5f699b
1 changed files with 2 additions and 2 deletions

View File

@ -4540,7 +4540,7 @@ def PackFormIntoFrame(window, containing_frame, toplevel_win):
element.QT_QLineEdit.setText(str(default_text))
style = 'QLineEdit {'
style = create_style_from_font(font)
style += create_style_from_font(font)
if element.TextColor is not None:
style += 'color: %s;' % element.TextColor
if element.BackgroundColor is not None:
@ -5218,7 +5218,7 @@ def PackFormIntoFrame(window, containing_frame, toplevel_win):
element.QT_TableWidget.setFixedHeight(element.NumRows*35+25)
# element.QT_TableWidget = QTableWidget()
style = 'QTableWidget {'
style = create_style_from_font(font)
style += create_style_from_font(font)
if element.TextColor is not None:
style += 'color: %s;' % element.TextColor
if element.BackgroundColor is not None: