preferredSize != minimumSize ( f.e we could do something useful with

eliding )
This commit is contained in:
Uwe Rathmann 2023-03-03 12:47:59 +01:00
parent ec8cc05e28
commit a612ec7f17

View File

@ -144,7 +144,7 @@ QSizeF QskCheckBoxSkinlet::sizeHint( const QskSkinnable* skinnable,
{
using Q = QskCheckBox;
if ( which == Qt::MaximumSize )
if ( which != Qt::PreferredSize )
return QSizeF();
auto checkBox = static_cast< const QskCheckBox* >( skinnable );