BSplitLayout handles semantics of Collapsed flag incorrectly
|Reported by:||anevilyak||Owned by:||anevilyak|
|Has a Patch:||no||Platform:||All|
When BSplitLayout::SetItemCollapsed() is called, the expected argument is a boolean indicating whether the item should be collapsed or not. However, internally this value is mapped verbatim onto BLayoutItem's "visible" setting, which has exactly the opposite meaning, as a result of which SetItemCollapsed(x, true) has the opposite of the desired effect.