Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#53 closed defect (fixed)

Large markers are downscaled to the global iconSize in the legend

Reported by: mhugent Owned by: mhugent
Priority: major: does not work as expected Milestone:
Component: Map Legend Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description (last modified by gsherman)

Large point markers are not displayed in the correct size in the legend. This is because the qt4 QTreeWidget uses QIcon for the legend images. QTreeWidget has a member iconSize, which is valid for all items (in contrast to the qt3 ListView which allowed different icon sizes for different items). A solution could be to keep track of how large the images of all items are and change the global icon size when items are added / removed.

Change History (4)

comment:1 by gsherman, 18 years ago

Description: modified (diff)
Milestone: Version 0.8 Release

comment:2 by mhugent, 18 years ago

Resolution: fixed
Status: newclosed

The legend does now adapt the global icon size to the largest item pixmap.

comment:3 by anonymous, 17 years ago

Awaiting user input: unset
Must Fix for Release: No

comment:4 by (none), 15 years ago

Milestone: Version 0.8

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.