using sizeConstraint
This commit is contained in:
parent
3919fc4938
commit
495c91ce33
@ -28,7 +28,7 @@ Main
|
|||||||
{
|
{
|
||||||
// very much standard: we should find a better way
|
// very much standard: we should find a better way
|
||||||
|
|
||||||
var hint = effectivePreferredSize();
|
var hint = sizeConstraint();
|
||||||
setMinimumWidth( hint.width )
|
setMinimumWidth( hint.width )
|
||||||
setMinimumHeight( hint.height )
|
setMinimumHeight( hint.height )
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user