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.
This commit is contained in:
parent
fab28082af
commit
9e47d4f714
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user