Revision: 6708
Author: nogu.dev
Date: Tue Aug 10 06:46:16 2010
Log: * qt4/switcher/qt4.cpp
  - (UimImSwitcher::createGUI): Adjust button width
    by not setting size policy explicitly.
http://code.google.com/p/uim/source/detail?r=6708

Modified:
 /trunk/qt4/switcher/qt4.cpp

=======================================
--- /trunk/qt4/switcher/qt4.cpp Tue Jul 20 20:46:46 2010
+++ /trunk/qt4/switcher/qt4.cpp Tue Aug 10 06:46:16 2010
@@ -136,12 +136,10 @@
     /* cancel & ok button */
     okButton = new QPushButton( this );
     okButton->setText( _( "OK" ) );
-    okButton->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed );
     connect( okButton, SIGNAL( clicked() ),
                       this, SLOT( slotChangeInputMethod() ) );
     cancelButton = new QPushButton( this );
     cancelButton->setText( _( "Cancel" ) );
- cancelButton->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed );
     connect( cancelButton, SIGNAL( clicked() ),
                       QApplication::instance(), SLOT( quit() ) );
     QHBoxLayout *buttonLayout = new QHBoxLayout;

Reply via email to