--- apps/konsole/src/ViewContainer.cpp.orig 2010-05-26 15:59:14.101813811 +0300 +++ apps/konsole/src/ViewContainer.cpp 2010-05-26 19:02:43.311377455 +0300 @@ -259,6 +259,7 @@ , _dropIndicatorIndex(-1) , _drawIndicatorDisabled(false) { + setElideMode(Qt::ElideLeft); } void ViewContainerTabBar::setDropIndicator(int index, bool drawDisabled) { @@ -396,7 +397,13 @@ QSize ViewContainerTabBar::tabSizeHint(int index) const { +#if 0 return QTabBar::tabSizeHint(index); +#else + if (count() < 2) + return QTabBar::tabSizeHint(index); + return QSize(width()/count(), QTabBar::tabSizeHint(index).height()); +#endif } QPixmap ViewContainerTabBar::dragDropPixmap(int tab) { @@ -756,10 +763,12 @@ const int index = _stackWidget->indexOf( iter.next() ); QString tabText = item->title(); +#if 0 if (tabText.count() > MAX_TAB_TEXT_LENGTH) tabText = tabText.right(MAX_TAB_TEXT_LENGTH).prepend("..."); - +#endif _tabBar->setTabText( index , tabText ); + _tabBar->setTabToolTip( index , tabText ); } } void TabbedViewContainer::updateIcon(ViewProperties* item)