Menu

#21 Map Resize event

0.9.7.0
closed
5
2014-12-30
2014-12-22
mattes
No

Hi all,

there seems to be a bug in MapControl::paintEvent(QPaintEvent evnt). If you put MapControl into a QScrollArea the shown map will be streched into evnt size.
I think it sould be doubleBuffer->size().
Please heve a look into uploaded patch. It seems do work correctly at my mashine (qt5).

Greetings
Mattes

1 Attachments

Discussion

  • Brad Grimmett

    Brad Grimmett - 2014-12-29
    • labels: --> PaintEvent, Size, Resizing
    • status: unread --> open-accepted
    • assigned_to: Brad Grimmett
     
  • Brad Grimmett

    Brad Grimmett - 2014-12-30
    • status: open-accepted --> closed
     
  • Brad Grimmett

    Brad Grimmett - 2014-12-30

    fixed in latest rev 61
    cheers!

     

Log in to post a comment.