From 7a9d9c2cf8af614e84de04e78093f3acb96bad74 Mon Sep 17 00:00:00 2001 From: stippi Date: Mon, 22 Feb 2010 13:23:55 +0000 Subject: [PATCH] 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 --- src/apps/webpositive/WebTabView.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apps/webpositive/WebTabView.cpp b/src/apps/webpositive/WebTabView.cpp index a45ccc38c2..ff59b0f1ca 100644 --- a/src/apps/webpositive/WebTabView.cpp +++ b/src/apps/webpositive/WebTabView.cpp @@ -33,8 +33,7 @@ WebTabView::WebTabView(const char *name, const BMessenger& target) : BTabView(name) , m_target(target) { - if (BGroupLayout* layout = dynamic_cast(GetLayout())) - layout->SetInsets(2, 2 + TabHeight() - 1, 2, 2); + SetBorder(B_NO_BORDER); } WebTabView::~WebTabView(void)