mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-19 04:44:21 -05:00
fixed to remove not useful frame for BlogsMsgItem, add a VerticalLayout which puts ever new items to the top of the widget when its has only one or few items.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2378 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
76e2f5c9c4
commit
7efb1c3890
@ -527,7 +527,7 @@ void BlogsDialog::updateChannelMsgs()
|
||||
BlogsMsgItem *cmi = new BlogsMsgItem(this, 0, mPeerId, mBlogId, it->msgId, true);
|
||||
|
||||
mBlogMsgItems.push_back(cmi);
|
||||
verticalLayout->addWidget(cmi);
|
||||
verticalLayout_2->addWidget(cmi);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -535,14 +535,7 @@ border-image: url(:/images/btn_26_pressed.png) 4;
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QFrame" name="frame_2">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2"/>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer">
|
||||
@ -586,6 +579,7 @@ border-image: url(:/images/btn_26_pressed.png) 4;
|
||||
<include location="../images.qrc"/>
|
||||
<include location="../images.qrc"/>
|
||||
<include location="../images.qrc"/>
|
||||
<include location="../images.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
Loading…
Reference in New Issue
Block a user