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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user