resize DeclarativeItemContainer at item's size
This commit is contained in:
parent
e76914ed89
commit
c216fe47b8
@ -43,6 +43,7 @@ public:
|
||||
static_cast<QGraphicsItem *>(item)->setParentItem(this);
|
||||
setMinimumWidth(item->implicitWidth());
|
||||
setMinimumHeight(item->implicitHeight());
|
||||
resize(item->width(), item->height());
|
||||
}
|
||||
|
||||
QDeclarativeItem *declarativeItem() const
|
||||
|
Loading…
Reference in New Issue
Block a user