From 6368ffcd26a68d9a4758e16ecb502f74ca515ab3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 30 Apr 2015 18:05:23 +0300 Subject: Fix default sizes for mail windows. --- src/gui/windows/maileditwindow.cpp | 4 ++-- src/gui/windows/mailviewwindow.cpp | 2 +- src/gui/windows/mailwindow.cpp | 4 ++-- 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); -- cgit v1.2.3-70-g09d2