Skip to content

Commit

Permalink
Make about window a bit taller so it fits the average amount of text
Browse files Browse the repository at this point in the history
... without scrolling.

This completes my about window treatment for all replicants. It is my
hope that BAboutWindow will be used by all apps that need an about
dialog instead of using a BAlert.
  • Loading branch information
jscipione committed Nov 13, 2012
1 parent df02847 commit 67bc152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kits/shared/AboutWindow.cpp
Expand Up @@ -134,7 +134,7 @@ AboutView::AboutView(const char* appName, const char* signature)
fVersionView = new BStringView("version", AppVersion(signature));

fInfoView = new BTextView("info", B_WILL_DRAW);
fInfoView->SetExplicitMinSize(BSize(210.0, 100.0));
fInfoView->SetExplicitMinSize(BSize(210.0, 160.0));
fInfoView->MakeEditable(false);
fInfoView->SetWordWrap(true);
fInfoView->SetInsets(5.0, 5.0, 5.0, 5.0);
Expand Down Expand Up @@ -255,7 +255,7 @@ AboutView::AppIcon(const char* signature)


BAboutWindow::BAboutWindow(const char* appName, const char* signature)
: BWindow(BRect(0.0, 0.0, 200.0, 140.0), appName, B_TITLED_WINDOW,
: BWindow(BRect(0.0, 0.0, 200.0, 200.0), appName, B_TITLED_WINDOW,
B_ASYNCHRONOUS_CONTROLS | B_NOT_ZOOMABLE | B_NOT_RESIZABLE
| B_AUTO_UPDATE_SIZE_LIMITS)
{
Expand Down

0 comments on commit 67bc152

Please sign in to comment.