Skip to content
Snippets Groups Projects
Commit 44496875 authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

Fixed centering and background of welcomepage

We still need a more decorative background but I
reintroduced the gradient for now.
parent 616cf61f
No related branches found
No related tags found
No related merge requests found
...@@ -76,11 +76,11 @@ QToolButton:pressed, QPushButton:pressed{ ...@@ -76,11 +76,11 @@ QToolButton:pressed, QPushButton:pressed{
<item> <item>
<widget class="QWidget" name="gradientWidget" native="true"> <widget class="QWidget" name="gradientWidget" native="true">
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">/* <string notr="true">
#gradientWidget { #gradientWidget {
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(215, 215, 215, 255)); background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:1.0, y2:1, stop:0 rgba(240, 240, 240, 255), stop:1 rgba(200, 200, 200, 255));
} }
*/
#gradientWidget { #gradientWidget {
border-image: url(:/core/images/welcomebg.png) 4; border-image: url(:/core/images/welcomebg.png) 4;
} }
...@@ -448,15 +448,24 @@ QToolButton:pressed { ...@@ -448,15 +448,24 @@ QToolButton:pressed {
<property name="sizeType"> <property name="sizeType">
<enum>QSizePolicy::Expanding</enum> <enum>QSizePolicy::Expanding</enum>
</property> </property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer> </spacer>
</item> </item>
<item row="0" column="0"> <item row="0" column="0">
<spacer name="topVerticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeType"> <property name="sizeHint" stdset="0">
<enum>QSizePolicy::Expanding</enum> <size>
<width>20</width>
<height>40</height>
</size>
</property> </property>
</spacer> </spacer>
</item> </item>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment