Shrunk initial window rectangle so that the scrolling operation performed in fImageView->FlushToLeftTop() will execute properly for certain small images.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5853 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a17aa8fd7e
commit
1de4129887
@ -94,7 +94,7 @@ RecentDocumentsMenu::AddDynamicItem(add_state s)
|
|||||||
// Implementation of ShowImageWindow
|
// Implementation of ShowImageWindow
|
||||||
|
|
||||||
ShowImageWindow::ShowImageWindow(const entry_ref *pref)
|
ShowImageWindow::ShowImageWindow(const entry_ref *pref)
|
||||||
: BWindow(BRect(5, 24, 350, 250), "", B_DOCUMENT_WINDOW, 0)
|
: BWindow(BRect(5, 24, 250, 100), "", B_DOCUMENT_WINDOW, 0)
|
||||||
{
|
{
|
||||||
fSavePanel = NULL;
|
fSavePanel = NULL;
|
||||||
fModified = false;
|
fModified = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user