Fix nested wrapped widgets.
This commit is contained in:
parent
26e6a3050c
commit
20b37f2dc1
1 changed files with 2 additions and 0 deletions
|
|
@ -77,6 +77,8 @@ public:
|
|||
return RpWidget::naturalWidth();
|
||||
}
|
||||
|
||||
using WrapParentType = RpWidget;
|
||||
|
||||
protected:
|
||||
int resizeGetHeight(int newWidth) override {
|
||||
if (auto weak = wrapped()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue