Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.9.1
Description
I have QQuickView, in this view I dynamic create object.
Item { id: new_obj property var obj width: 400 height: obj.height function createObj(text) { return Qt.createQmlObject(text, new_obj); } Component.onCompleted: { obj = createObj(Widget.GiveText()); } }
(Widget is C++ object). When i want set new size this object, I use
void Widget::SetFixedSize(QVariant m) {
this->setFixedSize(view_->size().width(), m.toDouble());
}
But in a few computers objects with new size render with artifacts.
First:
When I change size
but it must look like this