Show
Ignore:
Timestamp:
02/20/08 04:08:08 (10 months ago)
Author:
flynd
Message:

Allow size hint on mledit based on font size and default chat dialog input to three lines of text.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/qt-gui_qt4/src/userevents/usersendcommon.cpp

    r6048 r6064  
    423423 
    424424  mleSend = new MLEdit(true, bottom, true); 
     425  mleSend->setSizeHintLines(3); 
    425426  mleSend->setCheckSpellingEnabled(Config::Chat::instance()->checkSpelling()); 
    426427  mleSend->installEventFilter(this); // Enables send with enter 
     
    453454    splView->setStretchFactor(splView->indexOf(mleHistory), 1); 
    454455    splView->setStretchFactor(splView->indexOf(bottom), 0); 
    455     splView->setSizes(QList<int>() << 1 << 100); 
    456456 
    457457    connect(mleHistory, SIGNAL(quote(const QString&)),