Somehow, -(uint32)10 didn't do what I wanted... if there were no valid

settings, the window is now set to the intended position.
Also enlarged the default window height a big, since it was a bit too
unglossed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6199 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-01-20 11:36:27 +00:00
parent 955c0efddc
commit 57263483db

View File

@ -34,7 +34,7 @@
static const char *kWorkspacesSignature = "application/x-vnd.Be-WORK";
static const char *kWorkspacesSettingFile = "Workspace_data";
static const uint32 kScreenBorderOffset = 10;
static const float kScreenBorderOffset = 10.0;
class WorkspacesPreferences {
@ -123,7 +123,7 @@ WorkspacesPreferences::WorkspacesPreferences()
fWindowFrame = fScreenFrame;
fWindowFrame.OffsetBy(-kScreenBorderOffset, -kScreenBorderOffset);
fWindowFrame.left = fWindowFrame.right - 160;
fWindowFrame.top = fWindowFrame.bottom - 120;
fWindowFrame.top = fWindowFrame.bottom - 140;
}
}