JPNaude
4th January 2011, 09:38
Hi
I'm wondering what the reason is that QWebView::sizeHint() is implemented to return a fixed value:
QSize QWebView::sizeHint() const
{
return QSize(800, 600); // ####...
}
It makes putting it into a layout pretty useless. On that point, is there a recommended way to let QWebView respect a layout? I've reimplemented the resizeEvent() and got it working, but why is it needed?
Thanks for any comments.
Jaco
I'm wondering what the reason is that QWebView::sizeHint() is implemented to return a fixed value:
QSize QWebView::sizeHint() const
{
return QSize(800, 600); // ####...
}
It makes putting it into a layout pretty useless. On that point, is there a recommended way to let QWebView respect a layout? I've reimplemented the resizeEvent() and got it working, but why is it needed?
Thanks for any comments.
Jaco