diff --git a/src/apps/haikudepot/ui/PackageInfoView.cpp b/src/apps/haikudepot/ui/PackageInfoView.cpp index b390109fa8..b93bc82648 100644 --- a/src/apps/haikudepot/ui/PackageInfoView.cpp +++ b/src/apps/haikudepot/ui/PackageInfoView.cpp @@ -395,7 +395,12 @@ public: fTitleView->SetText(package.Title()); BString publisher = package.Publisher().Name(); - fPublisherView->SetText(publisher); + if (publisher.CountChars() > 45) { + fPublisherView->SetToolTip(publisher); + fPublisherView->SetText(publisher.TruncateChars(45) + .Append(B_UTF8_ELLIPSIS)); + } else + fPublisherView->SetText(publisher); BString version = B_TRANSLATE("%Version%"); version.ReplaceAll("%Version%", package.Version().ToString());