diff --git a/src/servers/print/ConfigWindow.cpp b/src/servers/print/ConfigWindow.cpp index f19bedb2d3..478e6271d7 100644 --- a/src/servers/print/ConfigWindow.cpp +++ b/src/servers/print/ConfigWindow.cpp @@ -327,7 +327,10 @@ BPictureButton* ConfigWindow::AddPictureButton(BView* panel, BRect frame, button->SetViewColor(B_TRANSPARENT_COLOR); panel->AddChild(button); onBM->Lock(); - button->ResizeTo(onBM->Bounds().Width(), onBM->Bounds().Height()); + int32 width = onBM->Bounds().Width(); + int32 height = onBM->Bounds().Height(); + button->ResizeTo(width, height); + button->SetExplicitMaxSize(BSize(width, height)); onBM->Unlock(); panel->RemoveChild(button);