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

View File

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