Fixed set minimum size for Channel Logo Label

Fixed set minimum width for Channel Name Label to not stretch The MainWindow when the Channel name is longer


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1646 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-09-13 16:33:59 +00:00
parent 746bbda046
commit e266b6b68f
2 changed files with 8 additions and 3 deletions

View file

@ -155,8 +155,10 @@ ChannelFeed::ChannelFeed(QWidget *parent)
//added from ahead
updateChannelList();
mChannelFont = QFont("MS SANS SERIF", 24);
mChannelFont = QFont("MS SANS SERIF", 22);
nameLabel->setFont(mChannelFont);
nameLabel->setMinimumWidth(20);
QTimer *timer = new QTimer(this);
timer->connect(timer, SIGNAL(timeout()), this, SLOT(checkUpdate()));