diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-30 23:54:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-30 23:54:59 +0300 |
commit | c293b93a9383e61988f2a4a3c59e4aac798f2325 (patch) | |
tree | a03de83fd17a52506a4b430ee8a961a2a3b3a53a /src/gui/serverdialog.cpp | |
parent | 6266c8c8d379bf05936a04e744343ef4b2d8775b (diff) | |
download | plus-c293b93a9383e61988f2a4a3c59e4aac798f2325.tar.gz plus-c293b93a9383e61988f2a4a3c59e4aac798f2325.tar.bz2 plus-c293b93a9383e61988f2a4a3c59e4aac798f2325.tar.xz plus-c293b93a9383e61988f2a4a3c59e4aac798f2325.zip |
Fix minimal windows sizes for very small screens (320x240)
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r-- | src/gui/serverdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index d76c5fbd3..778166d3b 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -308,8 +308,8 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo, getLayout().reflow(width, height); setContentSize(width, height); - setMinWidth(getWidth()); - setMinHeight(getHeight()); + setMinWidth(310); + setMinHeight(220); setDefaultSize(getWidth(), getHeight(), ImageRect::CENTER); setResizable(true); |