Hi all! I've got a very simple python addin consisting of a single tool that allows the user to draw a polygon. It works great. How do I label the tool? Right now it shows my little polygon icon, but I'd rather have some text next to it or some sort of label. The tool tip works just fine, but a label would be better.
Solved! Go to Solution.
Hi Kevin,
It easy: Need to make a change in your config.xml file.
<Tool caption="YOUR TOOL TITLE" category="category" class="class" id="id.class" image="" message="Message" tip="Tip">
<Help heading="Heading" />
</Tool>
When you use the add in wizard there is a section for caption at the top for you TOOL. This is where you Put a title for your tool.
BUT!
If you also set an image for your tool, ArcGIS will read the xml and put the image there instead of your Caption (Title)
So to fix, do not have an image, just the caption filled.
Hi Kevin,
It easy: Need to make a change in your config.xml file.
<Tool caption="YOUR TOOL TITLE" category="category" class="class" id="id.class" image="" message="Message" tip="Tip">
<Help heading="Heading" />
</Tool>
When you use the add in wizard there is a section for caption at the top for you TOOL. This is where you Put a title for your tool.
BUT!
If you also set an image for your tool, ArcGIS will read the xml and put the image there instead of your Caption (Title)
So to fix, do not have an image, just the caption filled.
So to fix, have an image, just the caption filled.
Do you mean DON'T have an image?
correct, I fixed my response. Long day. sorry.