Removed now incorrect comment.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17634 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-05-29 15:41:09 +00:00
parent b9535d8e52
commit 0dcf122e37

View File

@ -1546,10 +1546,7 @@ BMenu::ComputeLayout(int32 index, bool bestFit, bool moveItems,
}
if (_width) {
// change width depending on resize mode - BMenuBars always span
// over the whole width of its parent
// TODO: this is certainly ugly, and it would be nice if there
// would be a cleaner solution to this problem
// change width depending on resize mode
if ((ResizingMode() & B_FOLLOW_LEFT_RIGHT) == B_FOLLOW_LEFT_RIGHT) {
if (Parent())
*_width = Parent()->Frame().Width() + 1;