using width/height

This commit is contained in:
Uwe Rathmann 2020-09-04 07:39:52 +02:00
parent b4e735acce
commit fef6e1cef1

View File

@ -193,8 +193,7 @@ namespace
translateButtonBox();
setClip( size().width() < boxSize.width()
|| size().height() < boxSize.height() );
setClip( width() < boxSize.width() || height() < boxSize.height() );
}
QSizeF layoutSizeHint( Qt::SizeHint which, const QSizeF& constraint ) const override