summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-30 23:54:59 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-30 23:54:59 +0300
commitc293b93a9383e61988f2a4a3c59e4aac798f2325 (patch)
treea03de83fd17a52506a4b430ee8a961a2a3b3a53a /src/gui/serverdialog.cpp
parent6266c8c8d379bf05936a04e744343ef4b2d8775b (diff)
downloadmv-c293b93a9383e61988f2a4a3c59e4aac798f2325.tar.gz
mv-c293b93a9383e61988f2a4a3c59e4aac798f2325.tar.bz2
mv-c293b93a9383e61988f2a4a3c59e4aac798f2325.tar.xz
mv-c293b93a9383e61988f2a4a3c59e4aac798f2325.zip
Fix minimal windows sizes for very small screens (320x240)
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp4
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);