reposition when resizing if there is visualParent
BUG:334970 BUG:334964
This commit is contained in:
parent
394e29fa34
commit
d2d61c4da3
@ -359,6 +359,10 @@ void DialogPrivate::syncMainItemToSize()
|
||||
mainItem.data()->setWidth(q->width() - frameSvgItem->margins()->left() - frameSvgItem->margins()->right());
|
||||
mainItem.data()->setHeight(q->height() - frameSvgItem->margins()->top() - frameSvgItem->margins()->bottom());
|
||||
}
|
||||
|
||||
if (q->visualParent()) {
|
||||
q->setPosition(q->popupPosition(q->visualParent(), q->size()));
|
||||
}
|
||||
}
|
||||
|
||||
void DialogPrivate::syncToMainItemSize()
|
||||
|
Loading…
Reference in New Issue
Block a user