QtWebEngineViews in QStackedWidget
-
I added some QtWebEngineViews into a QStackedWidget.
When I resize the QStackedWidget, current QtWebEngineView also resize but lag.
But when i set other QtWebEngineViews to be CurrentWidget, they all have a resizing process.
How do I avoid the resizing process? Let other QtWebEngineViews resized before show. -
I solved this. Qt 5.15.2.
When hanlde theresizeeventof QStackWidget , callresize()for each QWebEngineView in QStackedWidget, And must callshow()after it.
I guessshow()function let Chromium to paint the hidden widget.
QTBUG-58324 maybe the same thing.