Improving some layouts for the Feed Items

Update Splash Image

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7024 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-01-17 00:40:28 +00:00
parent b8c65db00e
commit bdecf3def1
4 changed files with 152 additions and 129 deletions

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>438</width>
<height>146</height>
<width>643</width>
<height>140</height>
</rect>
</property>
<layout class="QGridLayout">
@ -17,7 +17,7 @@
<item row="0" column="0">
<widget class="QFrame" name="frame">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -71,10 +71,7 @@
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QFrame" name="frame_2">
<layout class="QGridLayout" name="gridLayout_3">
<property name="verticalSpacing">
<number>0</number>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>0</number>
</property>
@ -117,7 +114,7 @@
</property>
</widget>
</item>
<item row="0" column="2" colspan="3">
<item row="0" column="2">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -133,7 +130,7 @@
</property>
</spacer>
</item>
<item row="0" column="5" colspan="3">
<item row="0" column="3">
<widget class="QLabel" name="timestampLabel">
<property name="font">
<font>
@ -146,7 +143,7 @@
</property>
</widget>
</item>
<item row="1" column="1" colspan="7">
<item row="1" column="1" colspan="2">
<widget class="QLabel" name="subjectLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
@ -162,7 +159,9 @@
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<item row="2" column="1" colspan="3">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QToolButton" name="replyButton">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
@ -185,7 +184,7 @@
</property>
</widget>
</item>
<item row="2" column="3">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -198,7 +197,7 @@
</property>
</spacer>
</item>
<item row="2" column="4">
<item>
<widget class="QPushButton" name="deleteButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@ -218,7 +217,7 @@
</property>
</widget>
</item>
<item row="2" column="5">
<item>
<widget class="QPushButton" name="playButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@ -238,7 +237,7 @@
</property>
</widget>
</item>
<item row="2" column="6">
<item>
<widget class="QPushButton" name="expandButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@ -258,7 +257,7 @@
</property>
</widget>
</item>
<item row="2" column="7">
<item>
<widget class="QPushButton" name="clearButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@ -279,6 +278,8 @@
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>856</width>
<height>268</height>
<width>762</width>
<height>263</height>
</rect>
</property>
<layout class="QGridLayout">
@ -108,6 +108,12 @@
</item>
<item row="0" column="1">
<layout class="QGridLayout">
<property name="horizontalSpacing">
<number>6</number>
</property>
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="peerNameLabel">
<property name="font">
@ -133,9 +139,13 @@
</property>
<property name="font">
<font>
<family>Tahoma</family>
<pointsize>9</pointsize>
<weight>75</weight>
<italic>true</italic>
<bold>true</bold>
<stylestrategy>PreferAntialias</stylestrategy>
<kerning>true</kerning>
</font>
</property>
<property name="text">
@ -397,6 +407,19 @@
</item>
</layout>
</item>
<item row="2" column="0" colspan="3">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>1</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

@ -427,13 +427,12 @@ PeerItem QLabel#peerNameLabel {
}
MsgItem > QFrame#frame {
border: 2px solid blue;
border: 2px solid #3EA2FF;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2291E0, stop: 1 #3EB3FF);
border-radius: 10px;
}
MsgItem QWidget#avatar {
border: 2px solid blue;
background-color: #2291E0;
}