From d43a43963fea8c9eaf4b572a5f0b2bc637751444 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 21 Jul 2013 19:52:48 +0000 Subject: [PATCH] fixed layout in NewsFeed git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6526 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/NewsFeed.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/NewsFeed.cpp b/retroshare-gui/src/gui/NewsFeed.cpp index 81d9c0cf3..430825043 100644 --- a/retroshare-gui/src/gui/NewsFeed.cpp +++ b/retroshare-gui/src/gui/NewsFeed.cpp @@ -101,8 +101,10 @@ NewsFeed::NewsFeed(QWidget *parent) ") ; registerHelpButton(helpButton,hlp_str) ; + QFrame * frame = new QFrame ; + scrollArea->setWidget(frame) ; - mLayout = new QVBoxLayout(scrollArea) ; + mLayout = new QVBoxLayout(scrollArea->widget()) ; mLayout->addItem(new QSpacerItem(10,0,QSizePolicy::Minimum, QSizePolicy::MinimumExpanding)) ; }