enabled word wrap for Channel Description in ChanneMsgItem

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3587 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-10-02 00:57:17 +00:00
parent 05e908df12
commit 17f48ccd61
2 changed files with 7 additions and 2 deletions

View File

@ -128,7 +128,7 @@ void ChanMsgItem::updateItemStatic()
"PNG");
label->setPixmap(thumbnail);
label->setStyleSheet("QLabel#label{border: 2px solid #D3D3D3;border-radius: 2px;}");
label->setStyleSheet("QLabel#label{border: 2px solid #D3D3D3;border-radius: 3px;}");
}
if (mIsHome)

View File

@ -168,6 +168,9 @@ p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt; color:#666666;&quot;&gt;Short Description&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="2">
@ -301,7 +304,7 @@ border-radius: 10px;}</string>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">QLabel#msgLabel{border: 2px solid #D3D3D3;
<string notr="true">QLabel#msgLabel{border: 2px solid #238;
border-radius: 10px;}</string>
</property>
<property name="text">
@ -319,6 +322,8 @@ border-radius: 10px;}</string>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
</resources>
<connections/>
</ui>