From 5155f7ac75ff99792fed59bb39b73563bad15a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 26 Nov 2009 10:06:10 +0000 Subject: [PATCH] * Enlarged the cascading offset a bit, so that you can still read the title. * Cascading should really be solved in a shared source, so that all apps behave in the same way (I don't consider Mail's cascading to be how it should be either, btw). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34269 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mail/MailApp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/mail/MailApp.cpp b/src/apps/mail/MailApp.cpp index 8be4317a28..7028834fd3 100644 --- a/src/apps/mail/MailApp.cpp +++ b/src/apps/mail/MailApp.cpp @@ -1084,8 +1084,8 @@ TMailApp::NewWindow(const entry_ref* ref, const char* to, bool resend, r.bottom = r.top + screenFrame.Width(); // cascading windows - r.OffsetBy(((fWindowCount + 5) % 10) * 10 - 50, - ((fWindowCount + 5) % 10) * 10 - 50); + r.OffsetBy(((fWindowCount + 5) % 10) * 15 - 75, + ((fWindowCount + 5) % 10) * 15 - 75); // make sure the window is still on screen if (r.left - 6 < screenFrame.left)