In BALMLayout, make AddView(...) consistent with other layouts.
If a BView is added which has a BLayout, use the layout as a BLayoutItem to represent that view, as other layouts do.
This commit is contained in:
@@ -150,8 +150,7 @@ private:
|
||||
float InsetForTab(XTab* tab);
|
||||
float InsetForTab(YTab* tab);
|
||||
|
||||
/*! Add a view without initialize the Area. */
|
||||
BLayoutItem* _CreateLayoutItem(BView* view);
|
||||
BLayoutItem* _LayoutItemToAdd(BView* view);
|
||||
|
||||
void _UpdateAreaConstraints();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user