vertical size fix for chatwidget
authordisplacer
Tue, 20 Feb 2007 19:00:46 +0000
changeset 464 7f48321fc38a
parent 463 353c2f830888
child 465 07eca0a2546c
vertical size fix for chatwidget
QTfrontend/chatwidget.cpp
QTfrontend/pages.cpp
--- a/QTfrontend/chatwidget.cpp	Tue Feb 20 18:51:05 2007 +0000
+++ b/QTfrontend/chatwidget.cpp	Tue Feb 20 19:00:46 2007 +0000
@@ -10,6 +10,8 @@
   mainLayout.setSpacing(1);
   mainLayout.setMargin(1);
   mainLayout.setSizeConstraint(QLayout::SetMinimumSize);
+  mainLayout.setColumnStretch(0, 75);
+  mainLayout.setColumnStretch(1, 25);
 
   chatEditLine = new QLineEdit(this);
   connect(chatEditLine, SIGNAL(returnPressed()), this, SLOT(returnPressed()));
--- a/QTfrontend/pages.cpp	Tue Feb 20 18:51:05 2007 +0000
+++ b/QTfrontend/pages.cpp	Tue Feb 20 19:00:46 2007 +0000
@@ -520,6 +520,7 @@
 	// chatwidget
 	pChatWidget = new HWChatWidget(this);
 	pageLayout->addWidget(pChatWidget, 1, 0);
+	pageLayout->setRowStretch(1, 100);
 
 	pGameCFG = new GameCFGWidget(this);
 	pageLayout->addWidget(pGameCFG, 0, 0);