* 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
This commit is contained in:
parent
19df6e10bd
commit
5155f7ac75
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user