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:
@@ -395,6 +395,7 @@ ApplicationTypeWindow::ApplicationTypeWindow(BPoint position, const BEntry& entr
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
rect.top = 4.0f + ceilf(fontHeight.ascent + fontHeight.descent);
|
rect.top = 4.0f + ceilf(fontHeight.ascent + fontHeight.descent);
|
||||||
|
rect.bottom = rect.top + height;
|
||||||
fMajorVersionControl = new BTextControl(rect, "major", "Version:", NULL,
|
fMajorVersionControl = new BTextControl(rect, "major", "Version:", NULL,
|
||||||
NULL);
|
NULL);
|
||||||
fMajorVersionControl->SetDivider(fMajorVersionControl->StringWidth(
|
fMajorVersionControl->SetDivider(fMajorVersionControl->StringWidth(
|
||||||
|
|||||||
Reference in New Issue
Block a user