using width/height
This commit is contained in:
parent
b4e735acce
commit
fef6e1cef1
@ -193,8 +193,7 @@ namespace
|
|||||||
|
|
||||||
translateButtonBox();
|
translateButtonBox();
|
||||||
|
|
||||||
setClip( size().width() < boxSize.width()
|
setClip( width() < boxSize.width() || height() < boxSize.height() );
|
||||||
|| size().height() < boxSize.height() );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QSizeF layoutSizeHint( Qt::SizeHint which, const QSizeF& constraint ) const override
|
QSizeF layoutSizeHint( Qt::SizeHint which, const QSizeF& constraint ) const override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user