diff --git a/kstyle/breeze.h b/kstyle/breeze.h index b1662472..35961704 100644 --- a/kstyle/breeze.h +++ b/kstyle/breeze.h @@ -146,6 +146,7 @@ namespace Breeze // toolbox ToolBox_TabMinWidth = 80, ToolBox_TabItemSpacing = 4, + ToolBox_TabMarginWidth = 8, // tooltips ToolTip_FrameWidth = 3, diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index 070e397a..bb2d8fce 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -1899,6 +1899,7 @@ namespace Breeze } + contentsWidth += 2*Metrics::ToolBox_TabMarginWidth; contentsWidth = qMin( contentsWidth, rect.width() ); contentsWidth = qMax( contentsWidth, int(Metrics::ToolBox_TabMinWidth) ); return centerRect( rect, contentsWidth, rect.height() );