Opened 13 years ago

Closed 13 years ago

#77 closed defect (fixed)

Update the "How To Add Text To a Tool" Documentation

Reported by: andersd Owned by: EliL
Priority: major Milestone:
Component: Website Version: 2.6
Keywords: Cc:

Description

Update the "How To Add Text To a Tool" - added this as a ticket

Please add the section after the ---- and remove the rest of the section.

Some tools should have text. While an Icon is nice, sometimes you may only have a single icon that is used repetetively for a number of searches. As is often the case, it’s simply easier to read, “Search Assets” instead of filing through the four or five relatively obscure looking 16 x 16 pixel icons. Tools on the toolbar are defined in the <toolbar> section of the mapbook where it is easy to add an option to view text or not.

Add the foowing text ----------------------

Simply add show-label="true" to the tool in the mapbook.xml to show text. To not display text remove the show-label="true" as the default is to not display text.

To Show Text For ZoomIn

<tool name="zoomin" title="Zoom In" type="internal" action="zoomin" show-label="true"/>

To Not Show Text For ZoomIn

<tool name="zoomin" title="Zoom In" type="internal" action="zoomin"/>

Remove remaining text-----------------------


Change History (3)

in reply to:  description comment:1 by andersd, 13 years ago

Replying to andersd:

Update the "How To Add Text To a Tool" - added this as a ticket

Please add the section after the ---- and remove the rest of the section.

Some tools should have text. While an Icon is nice, sometimes you may only have a single icon that is used repetetively for a number of searches. As is often the case, it’s simply easier to read, “Search Assets” instead of filing through the four or five relatively obscure looking 16 x 16 pixel icons. Tools on the toolbar are defined in the <toolbar> section of the mapbook where it is easy to add an option to view text or not.

Add the following text ----------------------

Simply add show-label="true" to the tool in the mapbook.xml to show text. To not display text remove the show-label="true" as the default is to not display text.

To Show Text For ZoomIn

<tool name="zoomin" title="Zoom In" type="internal" action="zoomin" show-label="true"/>

To Not Show Text For ZoomIn

<tool name="zoomin" title="Zoom In" type="internal" action="zoomin"/>

Remove remaining text-----------------------


comment:2 by andersd, 13 years ago

Component: BuildToolsWebsite
Owner: set to EliL

comment:3 by EliL, 13 years ago

Resolution: fixed
Status: newclosed
Version: 2.6

r761 takes care of this. Also rearranges the How To section.

Note: See TracTickets for help on using tickets.