* 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:
Ithamar R. Adema
2010-05-11 22:54:00 +00:00
parent 97901ec593
commit 43775be678
-3
View File
@@ -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)