summaryrefslogtreecommitdiffabout
path: root/pwmanager
Side-by-side diff
Diffstat (limited to 'pwmanager') (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/getmasterpwwnd_emb.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/pwmanager/pwmanager/getmasterpwwnd_emb.cpp b/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
index 8b6dfbc..8404c3e 100644
--- a/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
+++ b/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
@@ -44,2 +44,3 @@ $Id$
#include <qpushbutton.h>
+#include <qapplication.h>
@@ -67,4 +68,10 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
#ifndef DESKTOP_VERSION
- numberBox->setFixedHeight(150);
- numberBox->setFixedWidth(150);
+ if ( QApplication::desktop()->width() > 320 ) {
+ numberBox->setFixedHeight(250);
+ numberBox->setFixedWidth(200);
+ }
+ else{
+ numberBox->setFixedHeight(150);
+ numberBox->setFixedWidth(150);
+ }
#endif