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:
parent
86fee1806c
commit
67abb56fcd
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue