* Revert r36316 as there are too many apps broken (Vision, Chart, Tracker Find, etc) in different unexpected ways. I'm sorry for the
trouble :( I'll revisit the change and post a patch with a hopefully better solution soon.... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36795 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -365,9 +365,6 @@ BMenuItem::GetContentSize(float *width, float *height)
|
|||||||
// BFont::Height() caches the value locally
|
// BFont::Height() caches the value locally
|
||||||
MenuPrivate(fSuper).CacheFontInfo();
|
MenuPrivate(fSuper).CacheFontInfo();
|
||||||
|
|
||||||
if (fSubmenu && fSubmenu->IsLabelFromMarked())
|
|
||||||
fSubmenu->GetPreferredSize(&fCachedWidth, NULL);
|
|
||||||
else
|
|
||||||
fCachedWidth = fSuper->StringWidth(fLabel);
|
fCachedWidth = fSuper->StringWidth(fLabel);
|
||||||
|
|
||||||
if (width)
|
if (width)
|
||||||
|
|||||||
Reference in New Issue
Block a user