QTfrontend/chatwidget.cpp
changeset 462 91baab07b79a
parent 461 105af110b0e6
child 463 353c2f830888
--- a/QTfrontend/chatwidget.cpp	Tue Feb 20 17:50:59 2007 +0000
+++ b/QTfrontend/chatwidget.cpp	Tue Feb 20 18:40:45 2007 +0000
@@ -9,15 +9,22 @@
 {
   mainLayout.setSpacing(1);
   mainLayout.setMargin(1);
+  mainLayout.setSizeConstraint(QLayout::SetMinimumSize);
 
   chatEditLine = new QLineEdit(this);
   connect(chatEditLine, SIGNAL(returnPressed()), this, SLOT(returnPressed()));
 
-  mainLayout.addWidget(chatEditLine, 1, 0);
-  
+  mainLayout.addWidget(chatEditLine, 1, 0); //, 0, 1); //assertion failed!
+
   chatText = new QListWidget(this);
   chatText->setMinimumHeight(10);
+  chatText->setMinimumWidth(10);
   mainLayout.addWidget(chatText, 0, 0);
+
+  chatNicks = new QListWidget(this);
+  chatNicks->setMinimumHeight(10);
+  chatNicks->setMinimumWidth(10);
+  mainLayout.addWidget(chatNicks, 0, 1);
 }
 
 void HWChatWidget::returnPressed()