Installer: better computation for minimal window width
The width of the status messages should not depend on the width of the logo. Reserve about 30 characters no matter which logo is used (this is slightly larger than it used to be). Fixes #15679.
This commit is contained in:
parent
145f127f3a
commit
31ff65f62f
@ -179,7 +179,7 @@ InstallerWindow::InstallerWindow()
|
||||
|
||||
BSize logoSize = logoView->MinSize();
|
||||
logoView->SetExplicitMaxSize(logoSize);
|
||||
fStatusView->SetExplicitMinSize(BSize(logoSize.width * 0.8,
|
||||
fStatusView->SetExplicitMinSize(BSize(fStatusView->StringWidth("W") * 30,
|
||||
logoSize.height));
|
||||
|
||||
// Explicitly create group view to set the background white in case
|
||||
|
Loading…
Reference in New Issue
Block a user