preferredSize != minimumSize ( f.e we could do something useful with
eliding )
This commit is contained in:
parent
ec8cc05e28
commit
a612ec7f17
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user