summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-30 18:05:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-30 18:27:32 +0300
commit6368ffcd26a68d9a4758e16ecb502f74ca515ab3 (patch)
treeb2cdd85a81265b00b60dc1fc07fcb65527f028a4 /src/gui
parentc10e0009f7ad6930cb59caea6e971127bef441ee (diff)
downloadplus-6368ffcd26a68d9a4758e16ecb502f74ca515ab3.tar.gz
plus-6368ffcd26a68d9a4758e16ecb502f74ca515ab3.tar.bz2
plus-6368ffcd26a68d9a4758e16ecb502f74ca515ab3.tar.xz
plus-6368ffcd26a68d9a4758e16ecb502f74ca515ab3.zip
Fix default sizes for mail windows.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/maileditwindow.cpp4
-rw-r--r--src/gui/windows/mailviewwindow.cpp2
-rw-r--r--src/gui/windows/mailwindow.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp
index 2d65e73e6..2a1e0dcaf 100644
--- a/src/gui/windows/maileditwindow.cpp
+++ b/src/gui/windows/maileditwindow.cpp
@@ -85,9 +85,9 @@ MailEditWindow::MailEditWindow() :
setStickyButtonLock(true);
setVisible(true);
- setDefaultSize(380, 150, ImageRect::CENTER);
+ setDefaultSize(380, 200, ImageRect::CENTER);
setMinWidth(200);
- setMinHeight(100);
+ setMinHeight(200);
center();
ContainerPlacer placer;
diff --git a/src/gui/windows/mailviewwindow.cpp b/src/gui/windows/mailviewwindow.cpp
index 380e04f3f..e8aac252e 100644
--- a/src/gui/windows/mailviewwindow.cpp
+++ b/src/gui/windows/mailviewwindow.cpp
@@ -88,7 +88,7 @@ MailViewWindow::MailViewWindow(const MailMessage *const message) :
setStickyButtonLock(true);
setVisible(true);
- setDefaultSize(380, 150, ImageRect::CENTER);
+ setDefaultSize(380, 230, ImageRect::CENTER);
setMinWidth(200);
setMinHeight(100);
center();
diff --git a/src/gui/windows/mailwindow.cpp b/src/gui/windows/mailwindow.cpp
index 2ed6f4def..6f0ce2987 100644
--- a/src/gui/windows/mailwindow.cpp
+++ b/src/gui/windows/mailwindow.cpp
@@ -79,9 +79,9 @@ MailWindow::MailWindow() :
if (setupWindow)
setupWindow->registerWindowForReset(this);
- setDefaultSize(387, 307, ImageRect::CENTER);
+ setDefaultSize(310, 180, ImageRect::CENTER);
setMinWidth(310);
- setMinHeight(179);
+ setMinHeight(250);
center();
mListScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);