diff --git a/retroshare-gui/src/gui/ChannelFeed.cpp b/retroshare-gui/src/gui/ChannelFeed.cpp
index ff037317f..9f680ed16 100644
--- a/retroshare-gui/src/gui/ChannelFeed.cpp
+++ b/retroshare-gui/src/gui/ChannelFeed.cpp
@@ -92,13 +92,13 @@ ChannelFeed::ChannelFeed(QWidget *parent)
//
/*************** Setup Right Hand Side (List of Messages) ****************/
- mMsgLayout = new QVBoxLayout;
+ /*mMsgLayout = new QVBoxLayout;
mMsgLayout->setSpacing(0);
mMsgLayout->setMargin(0);
mMsgLayout->setContentsMargins(0,0,0,0);
QWidget *middleWidget2 = new QWidget();
- middleWidget2->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Minimum);
+ middleWidget2->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum);
middleWidget2->setLayout(mMsgLayout);
QScrollArea *scrollArea2 = new QScrollArea;
@@ -111,10 +111,9 @@ ChannelFeed::ChannelFeed(QWidget *parent)
layout3->addWidget(scrollArea2);
layout3->setSpacing(0);
layout3->setMargin(0);
- layout3->setContentsMargins(0,0,0,0);
+ layout3->setContentsMargins(0,0,0,0);
-
- msgFrame->setLayout(layout3);
+ msgFrame->setLayout(layout3);*/
// mChannelId = "OWNID";
@@ -684,7 +683,7 @@ void ChannelFeed::updateChannelMsgs()
ChanMsgItem *cmi = new ChanMsgItem(this, 0, mChannelId, it->msgId, true);
mChanMsgItems.push_back(cmi);
- mMsgLayout->addWidget(cmi);
+ verticalLayout->addWidget(cmi);
}
}
diff --git a/retroshare-gui/src/gui/ChannelFeed.ui b/retroshare-gui/src/gui/ChannelFeed.ui
index da3ed2d53..08f214287 100644
--- a/retroshare-gui/src/gui/ChannelFeed.ui
+++ b/retroshare-gui/src/gui/ChannelFeed.ui
@@ -422,6 +422,65 @@ p, li { white-space: pre-wrap; }
QFrame::Raised
+
+
+ 0
+
+
+ 0
+
+ -
+
+
+ true
+
+
+ Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft
+
+
+
+
+ 0
+ 0
+ 430
+ 331
+
+
+
+
+ 0
+
+
+ 0
+
+
-
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 391
+ 266
+
+
+
+
+
+
+
+
+
diff --git a/retroshare-gui/src/gui/feeds/ChanMsgItem.ui b/retroshare-gui/src/gui/feeds/ChanMsgItem.ui
index 8fb3ce171..1268c6d0a 100644
--- a/retroshare-gui/src/gui/feeds/ChanMsgItem.ui
+++ b/retroshare-gui/src/gui/feeds/ChanMsgItem.ui
@@ -7,13 +7,19 @@
0
0
435
- 207
+ 205
Form
+
+ 0
+
+
+ 6
+
-
@@ -236,6 +242,8 @@ p, li { white-space: pre-wrap; }
+
+