[josm-dev] ewmsplugin - webkit-image bug

Dirk Stöcker openstreetmap at dstoecker.de
Wed Dec 17 15:39:14 GMT 2008


On Wed, 17 Dec 2008, Robert Scott wrote:

> On Wednesday 17 December 2008 11:32, Dirk Stöcker wrote:
>> Hmpf, you are too far north and the image height is larger than your
>> screen size. I found no way to tell Qt that it has a 2000x2000 virtual
>> screen yet (Theoretically it would be enough to tell it the
>> Yahoo-Javascript). It always adds the scrollbars, when size is > your
>> physical screen solution.
>>
>> Help welcome. My request in Qt mailinglist was not answered.
>
> your_qwebview.page()->setViewportSize ( const QSize & ) ?

I think this I tried and it failed. Together with multiple tries to set 
the stuff in QApplication screen handling.

> and if all else fails,
>
> your_qwebview.page()->mainFrame()->setScrollBarPolicy ( orientation , policy )
>
> (...sorry I can't test this right now.)

I will test if I find time, but any working solution is wellcome.

To test it loading a tile in far north/south is enough. They usually are 
very long in N-S direction.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)


More information about the josm-dev mailing list