patch by aldeck:

* fixes the content inside the tabview in the Media preflet spanning over
  the wrong area (wrong insets)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23338 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-01-10 13:46:35 +00:00
parent 86fee1806c
commit 67abb56fcd
1 changed files with 2 additions and 1 deletions

View File

@ -389,8 +389,9 @@ void
TabView::FrameResized(float width, float height)
{
BRect rect = Bounds();
rect.InsetBySelf(1, 1);
rect.top += TabHeight();
rect.InsetBy(3.0f, 3.0f);
//ContainerView is inseted by 3.0 in BTabView::_InitObject()
ContainerView()->ResizeTo(rect.Width(), rect.Height());
}