summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2018-11-05 10:15:36 +0100
committerSimon Rettberg2018-11-05 10:15:36 +0100
commit87b7a2bb2166435c901355cc5de05138fcb3737b (patch)
tree668ecea3aac8136ae50da4423693d29b4adcb17e
parentMake QSS customizable as well (diff)
downloadbwlp-screensaver-87b7a2bb2166435c901355cc5de05138fcb3737b.tar.gz
bwlp-screensaver-87b7a2bb2166435c901355cc5de05138fcb3737b.tar.xz
bwlp-screensaver-87b7a2bb2166435c901355cc5de05138fcb3737b.zip
Move more styling (font-size) to QSS
-rw-r--r--src/ui/saver.ui19
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>