diff --git a/src/apps/installer/InstallerWindow.cpp b/src/apps/installer/InstallerWindow.cpp index c54da2dea8..75212b40dc 100644 --- a/src/apps/installer/InstallerWindow.cpp +++ b/src/apps/installer/InstallerWindow.cpp @@ -180,11 +180,16 @@ InstallerWindow::InstallerWindow() BSize logoSize = logoView->MinSize(); logoView->SetExplicitMaxSize(logoSize); - fStatusView->SetExplicitMinSize(BSize(fStatusView->StringWidth("W") * 22, - logoSize.height)); - // Explicitly create group view to set the background white in case - // height resizing is needed for the status view + // Make sure we can display 5 lines of text of 22 about charactrs each in the status view + font_height height; + fStatusView->GetFontHeight(&height); + float fontHeight = height.ascent + height.descent + height.leading; + fStatusView->SetExplicitMinSize(BSize(fStatusView->StringWidth("W") * 22, + fontHeight * 5 + 8)); + + // Create a group view with a white background since the logo and status text won't have the + // same height, this background will show in the remaining space fLogoGroup = new BGroupView(B_HORIZONTAL, 10); fLogoGroup->SetViewColor(255, 255, 255); fLogoGroup->GroupLayout()->SetInsets(0, 0, 10, 0);