Modify

Opened 12 years ago

Closed 12 years ago

#8196 closed defect (fixed)

ICONS for <combo> <list_entry> </combo>

Reported by: kendzi Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

This change-set completely breaks support for icons:
http://josm.openstreetmap.de/changeset/5543/josm

It hard-code size of icon to 24. This make icons useless because the are to small.

Please remove default size or allow to disable it.

Attachments (7)

old.png (92.3 KB ) - added by kendzi 12 years ago.
new.png (57.8 KB ) - added by kendzi 12 years ago.
TaggingPreset.java.patch (2.0 KB ) - added by kendzi 12 years ago.
fix for bug
defaultpresets.xml.patch (950 bytes ) - added by kendzi 12 years ago.
description of tag
fix.png (102.2 KB ) - added by kendzi 12 years ago.
defaultpresets.xml_v2.patch (1.7 KB ) - added by kendzi 12 years ago.
tagging-preset.xsd.patch (454 bytes ) - added by kendzi 12 years ago.

Download all attachments as: .zip

Change History (15)

by kendzi, 12 years ago

Attachment: old.png added

by kendzi, 12 years ago

Attachment: new.png added

comment:1 by Don-vip, 12 years ago

Component: External presetCore
Priority: criticalnormal

by kendzi, 12 years ago

Attachment: TaggingPreset.java.patch added

fix for bug

by kendzi, 12 years ago

Attachment: defaultpresets.xml.patch added

description of tag

by kendzi, 12 years ago

Attachment: fix.png added

comment:2 by kendzi, 12 years ago

I added in path new attribute image_size for list_entry:

<combo text="Test" key="test">
   <list_entry value="image1" icon="image1.png"  icon_size="64"/>
   <list_entry value="image2" icon="image2.png"  icon_size="16"/>
   <list_entry value="image3" icon="image2.png"  /> <!-- default size of image file -->
</combo>

Please include this patch. With out it icons are useless.

comment:3 by bastiK, 12 years ago

Resolution: fixed
Status: newclosed

In 5582/josm:

fixed #8196 - preset icon size (patch by kendzi)

comment:4 by bastiK, 12 years ago

Ok, this works better...

comment:5 by stoecker, 12 years ago

Resolution: fixed
Status: closedreopened

The patch misses the correction of the xsd file, a documentation in the header text and an update of the wiki page.

by kendzi, 12 years ago

Attachment: defaultpresets.xml_v2.patch added

by kendzi, 12 years ago

Attachment: tagging-preset.xsd.patch added

comment:6 by kendzi, 12 years ago

xsd patch is in file tagging-preset.xsd.patch​
doc patch is in file defaultpresets.xml_v2.patch​

Which wiki page?

comment:7 by stoecker, 12 years ago

TaggingPresets (which probably could have some additional rework also :-)

comment:8 by stoecker, 12 years ago

Resolution: fixed
Status: reopenedclosed

In 5585/josm:

fix #8196 - patch by kendzi

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.