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:
parent
b9535d8e52
commit
0dcf122e37
@ -1546,10 +1546,7 @@ BMenu::ComputeLayout(int32 index, bool bestFit, bool moveItems,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (_width) {
|
if (_width) {
|
||||||
// change width depending on resize mode - BMenuBars always span
|
// change width depending on resize mode
|
||||||
// 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
|
|
||||||
if ((ResizingMode() & B_FOLLOW_LEFT_RIGHT) == B_FOLLOW_LEFT_RIGHT) {
|
if ((ResizingMode() & B_FOLLOW_LEFT_RIGHT) == B_FOLLOW_LEFT_RIGHT) {
|
||||||
if (Parent())
|
if (Parent())
|
||||||
*_width = Parent()->Frame().Width() + 1;
|
*_width = Parent()->Frame().Width() + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user