mirror of
https://review.haiku-os.org/haiku
synced 2025-02-23 05:58:31 +01:00
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:
parent
955c0efddc
commit
57263483db
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user