From e9eb6bf7b51da2ef3207166b9ad503c8b7b30283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 24 Jan 2007 16:49:27 +0000 Subject: [PATCH] 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 --- src/preferences/filetypes/ApplicationTypeWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/preferences/filetypes/ApplicationTypeWindow.cpp b/src/preferences/filetypes/ApplicationTypeWindow.cpp index 5e5beaed80..f21b4009cf 100644 --- a/src/preferences/filetypes/ApplicationTypeWindow.cpp +++ b/src/preferences/filetypes/ApplicationTypeWindow.cpp @@ -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(