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:
@@ -389,8 +389,9 @@ void
|
|||||||
TabView::FrameResized(float width, float height)
|
TabView::FrameResized(float width, float height)
|
||||||
{
|
{
|
||||||
BRect rect = Bounds();
|
BRect rect = Bounds();
|
||||||
rect.InsetBySelf(1, 1);
|
|
||||||
rect.top += TabHeight();
|
rect.top += TabHeight();
|
||||||
|
rect.InsetBy(3.0f, 3.0f);
|
||||||
|
//ContainerView is inseted by 3.0 in BTabView::_InitObject()
|
||||||
|
|
||||||
ContainerView()->ResizeTo(rect.Width(), rect.Height());
|
ContainerView()->ResizeTo(rect.Width(), rect.Height());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user