layoutSizeHint fixed

This commit is contained in:
Uwe Rathmann 2019-09-19 09:21:34 +02:00
parent da7f40ca07
commit fdea935991

View File

@ -201,7 +201,7 @@ int QskTabView::count() const
QSizeF QskTabView::layoutSizeHint(
Qt::SizeHint which, const QSizeF& constraint ) const
{
if ( which == Qt::MaximumSize )
if ( which != Qt::PreferredSize )
return QSizeF();
const auto& tabBar = m_data->tabBar;