From 16cb489052e62d4d0dddd580c681315ab094f00b Mon Sep 17 00:00:00 2001 From: Matthew Wilber Date: Wed, 17 Dec 2003 00:26:29 +0000 Subject: [PATCH] Fixed default window location so that it now appears in the top left corner, like Be's ShowImage. Also, window is now properly aligned to the top left corner when it is zoomed. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5678 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/showimage/ShowImageWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/showimage/ShowImageWindow.cpp b/src/apps/showimage/ShowImageWindow.cpp index 48a0126483..07b313213e 100644 --- a/src/apps/showimage/ShowImageWindow.cpp +++ b/src/apps/showimage/ShowImageWindow.cpp @@ -94,7 +94,7 @@ RecentDocumentsMenu::AddDynamicItem(add_state s) // Implementation of ShowImageWindow ShowImageWindow::ShowImageWindow(const entry_ref *pref) - : BWindow(BRect(50, 50, 350, 250), "", B_DOCUMENT_WINDOW, 0) + : BWindow(BRect(5, 24, 350, 250), "", B_DOCUMENT_WINDOW, 0) { fSavePanel = NULL; fModified = false;