fixed stylsheet and spacing

This commit is contained in:
defnax 2019-01-15 21:26:50 +01:00
parent c210a8d734
commit c25d222d86
4 changed files with 23 additions and 12 deletions

View File

@ -40,13 +40,19 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QFrame" name="frame"> <widget class="QFrame" name="headerFrame">
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing"> <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin"> <property name="leftMargin">
<number>6</number> <number>4</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>2</number> <number>2</number>
@ -55,12 +61,12 @@
<number>6</number> <number>6</number>
</property> </property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>0</number> <number>2</number>
</property> </property>
<item> <item>
<widget class="SubscribeToolButton" name="subscribeToolButton"> <widget class="SubscribeToolButton" name="subscribeToolButton">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>

View File

@ -99,13 +99,13 @@
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="leftMargin"> <property name="leftMargin">
<number>2</number> <number>4</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>2</number> <number>2</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>5</number> <number>6</number>
</property> </property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>2</number> <number>2</number>
@ -589,6 +589,11 @@ p, li { white-space: pre-wrap; }
<zorder>infoWidget</zorder> <zorder>infoWidget</zorder>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>SubscribeToolButton</class>
<extends>QToolButton</extends>
<header>gui/common/SubscribeToolButton.h</header>
</customwidget>
<customwidget> <customwidget>
<class>GxsIdLabel</class> <class>GxsIdLabel</class>
<extends>QLabel</extends> <extends>QLabel</extends>
@ -604,11 +609,6 @@ p, li { white-space: pre-wrap; }
<extends>QLineEdit</extends> <extends>QLineEdit</extends>
<header location="global">gui/common/LineEditClear.h</header> <header location="global">gui/common/LineEditClear.h</header>
</customwidget> </customwidget>
<customwidget>
<class>SubscribeToolButton</class>
<extends>QToolButton</extends>
<header>gui/common/SubscribeToolButton.h</header>
</customwidget>
<customwidget> <customwidget>
<class>GxsFeedWidget</class> <class>GxsFeedWidget</class>
<extends>QWidget</extends> <extends>QWidget</extends>

View File

@ -55,7 +55,7 @@
</property> </property>
<layout class="QHBoxLayout" name="toolBarFrameHLayout"> <layout class="QHBoxLayout" name="toolBarFrameHLayout">
<property name="leftMargin"> <property name="leftMargin">
<number>2</number> <number>4</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>2</number> <number>2</number>

View File

@ -819,6 +819,11 @@ PostedListWidget QToolButton#subscribeToolButton:hover {
border-radius: 4px; border-radius: 4px;
} }
PostedListWidget QFrame#headerFrame {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FEFEFE, stop:1 #E8E8E8);
border: 1px solid #CCCCCC;
}
GxsForumThreadWidget QToolButton#subscribeToolButton { GxsForumThreadWidget QToolButton#subscribeToolButton {
font: bold; font: bold;
font-size: 14px; font-size: 14px;