Hi Felipe. Maybe this property helps you: resizesToContents
http://doc.trolltech.com/main-snapshot/qgraphicswebview.html#resizesToContents-prop On Wed, Jun 2, 2010 at 12:39 PM, Felipe Crochik <[email protected]> wrote: > I need to find out what is the "page" (minimum) size so I can resize the > control to fit this area. The issue is that if you "enlarge" the > QGraphicsWebView one time the QWebFrame resizes itself so when you go to a > different (smaller) page the contents size is still the previous "larger" > one. > > Right now what I do is resize the QGraphicsWebView control to a small size, > then use QWebFrame::contentsSize() to get what is the "minimum size" to show > ALL the contents and then resize the QGraphicsWebView again based on this > information. > > I can only assume there is a better way but couldn't find out. > > Thanks, > Felipe > > > _______________________________________________ > webkit-qt mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt > -- --Antonio Gomes _______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
