summaryrefslogtreecommitdiffabout
path: root/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
Side-by-side diff
Diffstat (limited to 'pwmanager/pwmanager/getmasterpwwnd_emb.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/getmasterpwwnd_emb.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/pwmanager/pwmanager/getmasterpwwnd_emb.cpp b/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
index 7f4ccef..8b6dfbc 100644
--- a/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
+++ b/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
@@ -64,8 +64,10 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
pageLayout->addWidget(pwLineEdit);
QWidget* numberBox = new QWidget( page );
- numberBox->setFixedHeight(100);
- numberBox->setFixedWidth(100);
+#ifndef DESKTOP_VERSION
+ numberBox->setFixedHeight(150);
+ numberBox->setFixedWidth(150);
+#endif
QGridLayout* numberLayout = new QGridLayout( numberBox, 4, 3 );
numberLayout->setMargin( 0 );
@@ -98,8 +100,11 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
pageLayout->addWidget(numberBox);
-
+#ifdef DESKTOP_VERSION
+ resize( sizeHint() );
+#else
resize( 200,sizeHint().height() );
+#endif
connect( p0, SIGNAL( clicked() ), this, SLOT( add0() ) );
connect( p1, SIGNAL( clicked() ), this, SLOT( add1() ) );