When changing the tab height, also update the layout insets if needed.

Fixes #8374.
This commit is contained in:
Rene Gollent
2012-03-03 08:32:05 -05:00
parent 4183675895
commit 8f5079af02
+1 -3
View File
@@ -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();
} }