fix error constraint
This commit is contained in:
parent
0a29cc2876
commit
644f58e221
@ -236,12 +236,6 @@ void DoricLayouts::measureUndefinedContent(QSizeF targetSize) {
|
||||
} else {
|
||||
qreal actualWidth = this->view->width();
|
||||
qreal actualHeight = this->view->height();
|
||||
if (actualWidth > targetSize.width()) {
|
||||
actualWidth = targetSize.width();
|
||||
}
|
||||
if (actualHeight > targetSize.height()) {
|
||||
actualHeight = targetSize.height();
|
||||
}
|
||||
|
||||
measuredSize = QSizeF(actualWidth, actualHeight);
|
||||
}
|
||||
|
Reference in New Issue
Block a user