Add padding for search field and contacts nicknames in default theme
This commit is contained in:
parent
89caef6905
commit
124decc34a
4 changed files with 11 additions and 7 deletions
|
|
@ -187,12 +187,9 @@ class Toxygen:
|
|||
# application color scheme
|
||||
for theme in settings.built_in_themes().keys():
|
||||
if settings['theme'] == theme:
|
||||
try:
|
||||
with open(curr_directory() + settings.built_in_themes()[theme]) as fl:
|
||||
style = fl.read()
|
||||
app.setStyleSheet(style)
|
||||
except IsADirectoryError:
|
||||
app.setStyleSheet('') # for default style
|
||||
with open(curr_directory() + settings.built_in_themes()[theme]) as fl:
|
||||
style = fl.read()
|
||||
app.setStyleSheet(style)
|
||||
|
||||
lang = Settings.supported_languages()[settings['language']]
|
||||
translator = QtCore.QTranslator()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue