BTabView doesn't properly trigger a relayout when adding a new tab.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@164 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
@@ -411,6 +411,8 @@ void LauncherWindow::newTab(const BString& url, bool select)
|
||||
WebView* webView = new WebView("web_view");
|
||||
m_tabView->AddTab(webView);
|
||||
m_tabView->TabAt(m_tabView->CountTabs() - 1)->SetLabel("New tab");
|
||||
// TODO: Remove when BTabView is fixed...
|
||||
m_tabView->InvalidateLayout();
|
||||
|
||||
if (url.Length())
|
||||
webView->loadRequest(url.String());
|
||||
|
||||
Reference in New Issue
Block a user