diff options
author | Simon Rettberg | 2018-11-05 10:15:36 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-11-05 10:15:36 +0100 |
commit | 87b7a2bb2166435c901355cc5de05138fcb3737b (patch) | |
tree | 668ecea3aac8136ae50da4423693d29b4adcb17e /src | |
parent | Make QSS customizable as well (diff) | |
download | bwlp-screensaver-87b7a2bb2166435c901355cc5de05138fcb3737b.tar.gz bwlp-screensaver-87b7a2bb2166435c901355cc5de05138fcb3737b.tar.xz bwlp-screensaver-87b7a2bb2166435c901355cc5de05138fcb3737b.zip |
Move more styling (font-size) to QSS
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/saver.ui | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/ui/saver.ui b/src/ui/saver.ui index a9f4e70..6bf7067 100644 --- a/src/ui/saver.ui +++ b/src/ui/saver.ui @@ -29,17 +29,16 @@ QLabel { #lblClock { color: #999; + font-size: 20pt; } -</string> + +#lblHeader { + font-size: 20pt; +}</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QLabel" name="lblHeader"> - <property name="font"> - <font> - <pointsize>20</pointsize> - </font> - </property> <property name="text"> <string notr="true">¯\_(ツ)_/¯</string> </property> @@ -81,14 +80,12 @@ QLabel { </item> <item> <widget class="QLabel" name="lblClock"> - <property name="font"> - <font> - <pointsize>20</pointsize> - </font> - </property> <property name="text"> <string notr="true"/> </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> |