[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kopete/libkopete/ui
From: Olivier Goffart <ogoffart () tiscalinet ! be>
Date: 2002-12-11 18:33:20
[Download RAW message or body]
CVS commit by ogoffart:
fix size of the splitter
M +5 -2 chatview.cpp 1.54
--- kdenonbeta/kopete/libkopete/ui/chatview.cpp #1.53:1.54
@@ -56,8 +56,9 @@ ChatView::ChatView(QWidget *parent, cons
QWidget* priv=new QWidget(split);
+ priv->setMinimumSize( QSize( 75, 20 ) );
QHBoxLayout *privlayout=new QHBoxLayout(priv,0,5);
m_edit = new KTextEdit(priv, "m_edit" );
- m_edit->setMinimumSize( QSize( 75, 8 ) );
+ m_edit->setMinimumSize( QSize( 75, 20 ) );
m_edit->setWordWrap( QTextEdit::WidgetWidth );
m_edit->setTextFormat( Qt::PlainText );
@@ -72,4 +73,6 @@ ChatView::ChatView(QWidget *parent, cons
privlayout->addWidget( m_button_send );
+ split->setResizeMode(priv,QSplitter::KeepSize);
+
QValueList<int> split_sizes;
KConfig *config = KGlobal::config();
@@ -202,5 +205,5 @@ bool ChatView::eventFilter(QObject *w, Q
{
historyPos++;
- if(historyPos < historyList.count())
+ if(historyPos < (int)historyList.count())
{
m_edit->setText(historyList[historyPos]);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic