fixed layout in NewsFeed

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6526 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-07-21 19:52:48 +00:00
parent b1bc66b319
commit d43a43963f

View File

@ -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)) ;
}