hello Dirk Stöcker schrieb: [...] > But now there is another problem: When I e.g. call > webkit-image http://www.heise.de >a.jpg then I get scrollbars. Maybe we > also need to add the scrollbar policy from the other mail. :-)
that page is not one typically loaded with webkit-image, is it? :-) however I made a quick test and added page->mainFrame()->setScrollBarPolicy(Qt::Horizontal,Qt::ScrollBarAlwaysOff); page->mainFrame()->setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff); just before page->mainFrame()->load (QUrl(url)); result: no scrollbars. but a cropped web-page: this time not vertically but horizontally (the ad at the top-right (heise-Whitepapers) is only half-visible). I reckon this is due to the fact that the page places a lot of elements using CSS and/or javascript. hermann _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
