-rw-r--r-- | core/launcher/inputmethods.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/launcher/inputmethods.cpp b/core/launcher/inputmethods.cpp index 765dfe9..09b9a83 100644 --- a/core/launcher/inputmethods.cpp +++ b/core/launcher/inputmethods.cpp | |||
@@ -290,3 +290,7 @@ void InputMethods::showKbd( bool on ) | |||
290 | int height = QMIN( method->widget->sizeHint().height(), 134 ); | 290 | int height = QMIN( method->widget->sizeHint().height(), 134 ); |
291 | #ifdef QT_QWS_SIMPAD | ||
292 | method->widget->resize( qApp->desktop()->width() / 2, height ); // make it half the width on the SIMpad | ||
293 | #else | ||
291 | method->widget->resize( qApp->desktop()->width(), height ); | 294 | method->widget->resize( qApp->desktop()->width(), height ); |
295 | #endif | ||
292 | method->widget->move( 0, mapToGlobal( QPoint() ).y() - height ); | 296 | method->widget->move( 0, mapToGlobal( QPoint() ).y() - height ); |