From 0dcf122e37e95f394b0c70dae94f63e94986760d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 29 May 2006 15:41:09 +0000 Subject: [PATCH] Removed now incorrect comment. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17634 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Menu.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/kits/interface/Menu.cpp b/src/kits/interface/Menu.cpp index e860dc2b37..958a125cd7 100644 --- a/src/kits/interface/Menu.cpp +++ b/src/kits/interface/Menu.cpp @@ -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;