set some style sheet's for TextBrowser and TextEdit in PopupChatDialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3375 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-08-17 18:34:57 +00:00
parent fa9ea81ad7
commit 277c6c7aaa

View File

@ -27,9 +27,12 @@
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<property name="horizontalSpacing">
<number>0</number>
</property>
<property name="verticalSpacing">
<number>2</number>
</property>
<item row="0" column="1" rowspan="2">
<widget class="QFrame" name="avatarframe">
<property name="maximumSize">
@ -131,9 +134,15 @@ border-image: url(:/images/mystatus_bg.png);
</item>
<item row="0" column="2">
<widget class="QSplitter" name="chatsplitter">
<property name="lineWidth">
<number>1</number>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="handleWidth">
<number>5</number>
</property>
<widget class="QTextBrowser" name="textBrowser">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
@ -153,6 +162,11 @@ border-image: url(:/images/mystatus_bg.png);
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QTextBrowser{border: 1px solid #B8B6B1;
border-radius: 6px;
background: white;}</string>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
@ -180,6 +194,11 @@ p, li { white-space: pre-wrap; }
<height>30</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QTextEdit{border: 1px solid #B8B6B1;
border-radius: 6px;
background: white;}</string>
</property>
</widget>
</widget>
</item>