When changing the tab height, also update the layout insets if needed.
Fixes #8374.
This commit is contained in:
@@ -1284,10 +1284,8 @@ BTabView::SetTabHeight(float height)
|
|||||||
if (fTabHeight == height)
|
if (fTabHeight == height)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
fContainerView->MoveBy(0.0f, height - fTabHeight);
|
|
||||||
fContainerView->ResizeBy(0.0f, height - fTabHeight);
|
|
||||||
|
|
||||||
fTabHeight = height;
|
fTabHeight = height;
|
||||||
|
_LayoutContainerView(GetLayout() != NULL);
|
||||||
|
|
||||||
Invalidate();
|
Invalidate();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user