set main object size after loading
This commit is contained in:
parent
80eb4eafea
commit
c6215bb249
@ -145,6 +145,8 @@ void DeclarativeWidgetPrivate::finishExecute()
|
||||
if (object) {
|
||||
width = object->property("width").toReal();
|
||||
height = object->property("height").toReal();
|
||||
object->setProperty("width", q->size().width());
|
||||
object->setProperty("height", q->size().height());
|
||||
}
|
||||
|
||||
if (width > 0 && height > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user