From 9e47d4f714a395d060ecb4113042532bdb82ebcb Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 4 Dec 2013 13:28:58 +0100 Subject: [PATCH] Terminal tabs: use B_WITH_FROM_LABEL B_WIDTH_FROM_WIDEST leads to only 2 or 3 tabs visible when one of the tabs has a long title. This can be rather annoying as we have no way of scrolling the tabs to see the ones that are pushed out of the window. --- src/apps/terminal/TermWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/terminal/TermWindow.cpp b/src/apps/terminal/TermWindow.cpp index 9b57d18dd6..de5ba1b290 100644 --- a/src/apps/terminal/TermWindow.cpp +++ b/src/apps/terminal/TermWindow.cpp @@ -296,7 +296,7 @@ TermWindow::_InitWindow() BRect textFrame = Bounds(); textFrame.top = fMenuBar->Bounds().bottom + 1.0; - fTabView = new SmartTabView(textFrame, "tab view", B_WIDTH_FROM_WIDEST); + fTabView = new SmartTabView(textFrame, "tab view", B_WIDTH_FROM_LABEL); fTabView->SetListener(this); AddChild(fTabView);