fixed some layouts and allow a minimum size for the Title Label, and set a maximum size for some buttons.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-10-08 15:16:38 +00:00
parent 1207b5793b
commit e7023c55a0
2 changed files with 34 additions and 2 deletions

View file

@ -63,6 +63,8 @@ ChanMsgItem::ChanMsgItem(FeedHolder *parent, uint32_t feedId, std::string chanId
downloadButton->hide();
playButton->hide();
titleLabel->setMinimumWidth(100);
small();
updateItemStatic();
@ -152,7 +154,7 @@ void ChanMsgItem::updateItemStatic()
QDateTime qtime;
qtime.setTime_t(cmi.ts);
QString timestamp = qtime.toString("dd.MMMM yyyy hh:mm:ss");
QString timestamp = qtime.toString("dd.MMMM yyyy hh:mm");
datetimelabel->setText(timestamp);
{