Fixed updating of CenterWrap after postponed resize of wrapped widget.
This commit is contained in:
parent
395795e37a
commit
133acab68f
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ int CenterWrap<RpWidget>::resizeGetHeight(int newWidth) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void CenterWrap<RpWidget>::wrappedSizeUpdated(QSize size) {
|
void CenterWrap<RpWidget>::wrappedSizeUpdated(QSize size) {
|
||||||
|
resize(width(), size.height());
|
||||||
updateWrappedPosition(width());
|
updateWrappedPosition(width());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue