Added a default background color for the Channel Message Logo for a better look and feel, removed stretching of the logo, set a minimum size, background is now filled black.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6960 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2013-12-23 20:03:46 +00:00
parent 03bd9dbef4
commit beedc07de8
2 changed files with 23 additions and 4 deletions

View file

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>629</width> <width>629</width>
<height>172</height> <height>175</height>
</rect> </rect>
</property> </property>
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4">
@ -42,12 +42,21 @@
<layout class="QHBoxLayout" name="horizontalLayout_6"> <layout class="QHBoxLayout" name="horizontalLayout_6">
<item> <item>
<widget class="QLabel" name="logoLabel"> <widget class="QLabel" name="logoLabel">
<property name="minimumSize">
<size>
<width>158</width>
<height>108</height>
</size>
</property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>156</width> <width>158</width>
<height>107</height> <height>108</height>
</size> </size>
</property> </property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
@ -55,7 +64,13 @@
<pixmap resource="../images.qrc">:/images/thumb-default-video.png</pixmap> <pixmap resource="../images.qrc">:/images/thumb-default-video.png</pixmap>
</property> </property>
<property name="scaledContents"> <property name="scaledContents">
<bool>true</bool> <bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="margin">
<number>0</number>
</property> </property>
</widget> </widget>
</item> </item>

View file

@ -81,6 +81,10 @@ CreateChannelMsg QFrame#fileFrame {
background: white; background: white;
} }
ChanMsgItem QLabel#logoLabel {
background-color: black;
}
/* Forums */ /* Forums */
ForumsDialog QLabel#forumName, ForumsDialog QLabel#threadTitle ForumsDialog QLabel#forumName, ForumsDialog QLabel#threadTitle