diff --git a/retroshare-gui/src/gui/NewsFeed.cpp b/retroshare-gui/src/gui/NewsFeed.cpp index 8b3a1cd1d..b164c0c05 100644 --- a/retroshare-gui/src/gui/NewsFeed.cpp +++ b/retroshare-gui/src/gui/NewsFeed.cpp @@ -160,7 +160,7 @@ void NewsFeed::addFeedItemPeerConnect(RsFeedItem &fi) /* store */ /* add to layout */ - verticalLayout->addWidget(pi); + verticalLayout->insertWidget(0, pi); #ifdef NEWS_DEBUG std::cerr << "NewsFeed::addFeedItemPeerConnect()"; @@ -178,7 +178,7 @@ void NewsFeed::addFeedItemPeerDisconnect(RsFeedItem &fi) /* store */ /* add to layout */ - verticalLayout->addWidget(pi); + verticalLayout->insertWidget(0, pi); @@ -197,7 +197,7 @@ void NewsFeed::addFeedItemPeerHello(RsFeedItem &fi) /* store */ /* add to layout */ - verticalLayout->addWidget(pi); + verticalLayout->insertWidget(0, pi); #ifdef NEWS_DEBUG @@ -215,7 +215,7 @@ void NewsFeed::addFeedItemPeerNew(RsFeedItem &fi) /* store */ /* add to layout */ - verticalLayout->addWidget(pi); + verticalLayout->insertWidget(0, pi); #ifdef NEWS_DEBUG std::cerr << "NewsFeed::addFeedItemPeerNew()"; @@ -232,7 +232,7 @@ void NewsFeed::addFeedItemChanNew(RsFeedItem &fi) /* store in list */ /* add to layout */ - verticalLayout->addWidget(cni); + verticalLayout->insertWidget(0, cni); #ifdef NEWS_DEBUG std::cerr << "NewsFeed::addFeedItemChanNew()"; @@ -249,7 +249,7 @@ void NewsFeed::addFeedItemChanUpdate(RsFeedItem &fi) /* store in list */ /* add to layout */ - verticalLayout->addWidget(cni); + verticalLayout->insertWidget(0, cni); #ifdef NEWS_DEBUG std::cerr << "NewsFeed::addFeedItemChanUpdate()"; @@ -266,7 +266,7 @@ void NewsFeed::addFeedItemChanMsg(RsFeedItem &fi) /* store in forum list */ /* add to layout */ - verticalLayout->addWidget(cm); + verticalLayout->insertWidget(0, cm); #ifdef NEWS_DEBUG std::cerr << "NewsFeed::addFeedItemChanMsg()"; @@ -284,7 +284,7 @@ void NewsFeed::addFeedItemForumNew(RsFeedItem &fi) mForumNewItems.push_back(fni); /* add to layout */ - verticalLayout->addWidget(fni); + verticalLayout->insertWidget(0, fni); #ifdef NEWS_DEBUG @@ -303,7 +303,7 @@ void NewsFeed::addFeedItemForumUpdate(RsFeedItem &fi) mForumNewItems.push_back(fni); /* add to layout */ - verticalLayout->addWidget(fni); + verticalLayout->insertWidget(0, fni); #ifdef NEWS_DEBUG std::cerr << "NewsFeed::addFeedItemForumUpdate()"; @@ -320,7 +320,7 @@ void NewsFeed::addFeedItemForumMsg(RsFeedItem &fi) /* store in forum list */ /* add to layout */ - verticalLayout->addWidget(fm); + verticalLayout->insertWidget(0, fm); #ifdef NEWS_DEBUG std::cerr << "NewsFeed::addFeedItemForumMsg()"; @@ -337,7 +337,7 @@ void NewsFeed::addFeedItemBlogNew(RsFeedItem &fi) /* store in list */ /* add to layout */ - verticalLayout->addWidget(bni); + verticalLayout->insertWidget(0, bni); #endif #ifdef NEWS_DEBUG @@ -355,7 +355,7 @@ void NewsFeed::addFeedItemBlogMsg(RsFeedItem &fi) /* store in forum list */ /* add to layout */ - verticalLayout->addWidget(bm); + verticalLayout->insertWidget(0, bm); #endif #ifdef NEWS_DEBUG @@ -382,7 +382,7 @@ void NewsFeed::addFeedItemMessage(RsFeedItem &fi) /* store in list */ /* add to layout */ - verticalLayout->addWidget(mi); + verticalLayout->insertWidget(0, mi); #ifdef NEWS_DEBUG std::cerr << "NewsFeed::addFeedItemMessage()"; diff --git a/retroshare-gui/src/gui/NewsFeed.ui b/retroshare-gui/src/gui/NewsFeed.ui index 90dcc1806..aa243df66 100644 --- a/retroshare-gui/src/gui/NewsFeed.ui +++ b/retroshare-gui/src/gui/NewsFeed.ui @@ -23,7 +23,7 @@ - 0 + 6 6 @@ -67,7 +67,7 @@ p, li { white-space: pre-wrap; } <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;"><span style=" font-size:9pt; font-weight:600;">News Feed</span></p></body></html> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; font-weight:600;">Friends Storm</span></p></body></html>