Set the "no border" look to avoid the double frame around the WebView.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@169 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
stippi 2010-02-22 13:23:55 +00:00
parent d05b8e1a31
commit 7a9d9c2cf8

View File

@ -33,8 +33,7 @@ WebTabView::WebTabView(const char *name, const BMessenger& target)
: BTabView(name)
, m_target(target)
{
if (BGroupLayout* layout = dynamic_cast<BGroupLayout*>(GetLayout()))
layout->SetInsets(2, 2 + TabHeight() - 1, 2, 2);
SetBorder(B_NO_BORDER);
}
WebTabView::~WebTabView(void)