Work with '\t' (tabulation) in Legend doesn't work

12-13-2021 07:51 AM
Labels (1)
New Contributor

Hi everyone, 

I'm working with ArcPro 2.9 and I have the following problem:

I need to show in the Legend two Columns of the Attribute table. The short form of an Animal (lets  say "B" for Bird) and the full name (in this case "Bird")
This two information are inside the Attribute table. So I wrote this in Symbology -> Expression Builder -> 

$feature.SHORTFORM+ '\t' + $feature.FULLNAME

This works perfectly for the Layer itself, but the tabulation does not apear in the Legend. 

I tryed everything but it's not working. Maybe it will not work with this tipe of code, but maybe someone knows an answer to this problem or a workaround solution. 

Thank you!!

0 Kudos
2 Replies
Esri Contributor

Have you tried using descriptions? The tab isn't designed to work in the legend, but by using descriptions you should be able to get the output you want. Descriptions are set at the layer level, and only apply to some symbology types, including unique values. They are displayed in the legend and you can use spacing and font customization to get different looks. This blog posts talks a little about formatting and spacing in legends:



0 Kudos
New Contributor

Thank you for your answer. 
This is good to know, but the problem I face here is (as far ar I can tell) that I have to write the description down manually one by one.


Is there a way to insert the Description from the Attribute Table? 

0 Kudos