From 57263483dbfa51b5626f291a1a893a6b92a4a4e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 20 Jan 2004 11:36:27 +0000 Subject: [PATCH] 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 --- src/prefs/workspaces/Workspaces.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prefs/workspaces/Workspaces.cpp b/src/prefs/workspaces/Workspaces.cpp index 88ae30f0f5..9d10c7a093 100644 --- a/src/prefs/workspaces/Workspaces.cpp +++ b/src/prefs/workspaces/Workspaces.cpp @@ -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; } }