diff --git a/src/controls/QskTabBar.cpp b/src/controls/QskTabBar.cpp index cb506020..b4897815 100644 --- a/src/controls/QskTabBar.cpp +++ b/src/controls/QskTabBar.cpp @@ -144,8 +144,10 @@ namespace Often the current tab button grows beyond the bounding rectangle of the tab bar, so that it looks like being on top of the tab page border. So we only want to clip in scroll direction. + Note: std::numeric_limits< int >::max() does not work - guess + some overflow somewhere ... */ - constexpr qreal expanded = std::numeric_limits< int >::max(); + constexpr qreal expanded = 0.90 * std::numeric_limits< int >::max(); if ( flickableOrientations() & Qt::Horizontal ) {