ShowImage: Using the up and down arrow to change images from a tracker folder,
and loading an image bigger than the current window size didn't get the window enlarged. exceptions: the window doesn't get resized by this mean if you check the Shrink to window or Zoom to window settings. Fixes ticket #4273. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32502 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -630,6 +630,9 @@ ShowImageWindow::MessageReceived(BMessage *message)
|
||||
|
||||
if (messageProvidesSize) {
|
||||
_UpdateResizerWindow(fWidth, fHeight);
|
||||
if (!fImageView->GetZoomToBounds()
|
||||
&& !fImageView->GetShrinkToBounds())
|
||||
WindowRedimension(fImageView->GetBitmap());
|
||||
}
|
||||
|
||||
fStatusView->SetText(status);
|
||||
|
||||
Reference in New Issue
Block a user