[prev in list] [next in list] [prev in thread] [next in thread] 

List:       licq-cvs
Subject:    [Licq-cvs] r4453 - trunk/qt-gui/src
From:       erijo () users ! sourceforge ! net
Date:       2006-06-26 16:14:21
Message-ID: 20060626161421.3177.qmail () mail ! thejon ! org
[Download RAW message or body]

Author: erijo
Date: 2006-06-27 01:14:20 +0900 (Tue, 27 Jun 2006)
New Revision: 4453

Modified:
   trunk/qt-gui/src/awaymsgdlg.cpp
Log:
Made the "Ok" button in the awaymessage dialog at least as wide as
a button with the string "Closing in x" would be.


Modified: trunk/qt-gui/src/awaymsgdlg.cpp
===================================================================
--- trunk/qt-gui/src/awaymsgdlg.cpp	2006-06-26 15:49:31 UTC (rev 4452)
+++ trunk/qt-gui/src/awaymsgdlg.cpp	2006-06-26 16:14:20 UTC (rev 4453)
@@ -81,7 +81,7 @@
   connect(mnuSelect, SIGNAL(activated(int)), this, SLOT(slot_selectMessage(int)));
 
   QBoxLayout* l = new QHBoxLayout(top_lay, 10);
-  int bw = 75;
+  int bw = QPushButton(tr("(Closing in %1)"), this).sizeHint().width();
   btnSelect = new QPushButton(tr("&Select"), this);
   btnSelect->setPopup(mnuSelect);
   QPushButton *btnHints = new QPushButton(tr("&Hints"), this);
@@ -102,7 +102,6 @@
 
   l->addWidget(btnSelect);
   l->addStretch(1);
-  l->addSpacing(30);
   l->addWidget(btnHints);
   l->addSpacing(20);
   l->addWidget(btnOk);


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Licq-cvs mailing list
Licq-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/licq-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic