mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-22 04:39:55 -04: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
2 changed files with 3 additions and 9 deletions
|
@ -527,7 +527,7 @@ void BlogsDialog::updateChannelMsgs()
|
||||||
BlogsMsgItem *cmi = new BlogsMsgItem(this, 0, mPeerId, mBlogId, it->msgId, true);
|
BlogsMsgItem *cmi = new BlogsMsgItem(this, 0, mPeerId, mBlogId, it->msgId, true);
|
||||||
|
|
||||||
mBlogMsgItems.push_back(cmi);
|
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>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QFrame" name="frame_2">
|
<layout class="QVBoxLayout" name="verticalLayout_2"/>
|
||||||
<property name="frameShape">
|
|
||||||
<enum>QFrame::StyledPanel</enum>
|
|
||||||
</property>
|
|
||||||
<property name="frameShadow">
|
|
||||||
<enum>QFrame::Raised</enum>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="verticalSpacer">
|
<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"/>
|
||||||
<include location="../images.qrc"/>
|
<include location="../images.qrc"/>
|
||||||
|
<include location="../images.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue