Obviously, BMenuField::ResizeToPreferred() has no effect under R5 (does work on Dano) - this fixes bug #954.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19944 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-01-24 16:49:27 +00:00
parent 95ae312c38
commit e9eb6bf7b5

View File

@ -395,6 +395,7 @@ ApplicationTypeWindow::ApplicationTypeWindow(BPoint position, const BEntry& entr
#endif
rect.top = 4.0f + ceilf(fontHeight.ascent + fontHeight.descent);
rect.bottom = rect.top + height;
fMajorVersionControl = new BTextControl(rect, "major", "Version:", NULL,
NULL);
fMajorVersionControl->SetDivider(fMajorVersionControl->StringWidth(