[Qt-interest] Setting the width of a qwebview

Raja Sekharan websweetweb at gmail.com
Wed Jun 10 07:41:07 CEST 2009


Hi,

I added a QWebView to a QDockWidget for vieweing documentation of a
SDK. After compilation, when the application runs, the dock widget
seems to get a large width of atleast 300px or more when I want it to
be less than 200px wide. Setting the geometry of the Qwebview, the
QDockWidget, or the widget that encloses the QWebview doesn't seem to
reduce the width. This happens only when the qwebview is present. Is
there any way to reduce the size of this dock?

Thanks in advance,

Raj

-- 
“Computer science education cannot make anybody an expert programmer
any more than studying brushes and pigment can make somebody an expert
painter.”




More information about the Qt-interest-old mailing list