From 00cf152a242f7a7137d1c3271d23951a6fa9062e Mon Sep 17 00:00:00 2001 From: thunder2 Date: Sun, 21 Jun 2015 01:00:01 +0000 Subject: [PATCH] Used QTextBrowser to show the channel description for unsubscribed groups to avoid the horizontal growing of the channel list. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8535 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- .../gui/gxschannels/GxsChannelPostsWidget.ui | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/retroshare-gui/src/gui/gxschannels/GxsChannelPostsWidget.ui b/retroshare-gui/src/gui/gxschannels/GxsChannelPostsWidget.ui index 1e351d48e..d91812fca 100644 --- a/retroshare-gui/src/gui/gxschannels/GxsChannelPostsWidget.ui +++ b/retroshare-gui/src/gui/gxschannels/GxsChannelPostsWidget.ui @@ -410,16 +410,20 @@ - - - Description - - - true + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +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;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Description</p></body></html> Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + false + @@ -434,8 +438,8 @@ - 20 - 40 + 0 + 0