[Webkit-unassigned] [Bug 34885] [Qt] QGraphicsWebView should have a mode that makes it automatically resize itself to the content size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 12 06:49:52 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34885





--- Comment #5 from Antti Koivisto <koivisto at iki.fi>  2010-02-12 06:49:51 PST ---
> > +        if (!QApplication::instance()->arguments().contains("--resizesToContent")) {
> > +            setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
> > +            setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
> > +        }
> 
> Maybe we should turn these off automatically when enabling the mode? Fits with
> the documentation even.

Not sure what you mean here. QGraphicsWebView does not really know about the
QGraphicsView it is in and should definitely not change any settings there.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list