Select to view content in your preferred language

Forcing label items to remain on the same line

14668
13
Jump to solution
07-14-2017 07:45 AM
deleted-user-hwcOLD4Ux5CR
Deactivated User

Hi all,

I'm new to working with label expressions in ArcGIS Pro and I was hoping for some help. The expression I'm working with is as follows (VBScript):

[full_name] + " (Z:" & [zone] & " R:" & [rank_id] &")"

I realize my syntax and labeling structure is messy, but it's been getting the job done. The label is displaying a client name followed by their zone and rank numbers in parenthesis. Example: ExampleName (Z:1 R:10) The problem I'm having occurs when a longer client name forces what I have in parenthesis on to two different lines when I have label stacking enabled.

Is there a way to ensure that my information inside the parenthesis always stays together on the same line?

Any help is appreciated!

0 Kudos
13 Replies
SamuelTroth2
Esri Contributor

Hi @Anonymous User,

Looks like this is a bug in ArcGIS Pro. There's no reason that you should need the stacking property enabled for your stacking expression to work correctly. I have logged this as an issue for us to investigate. It seems to be linked to the 'Secondary offset' property, if you could find a way not to use that in your map that may be a viable workaround. 

I'm very sorry Maplex isn't performing as you would hope. Please get in touch if you have any more questions.

by Anonymous User
Not applicable

Hi. I am experiencing this same issue (as Andrea had) now, using Pro 3.0.2. Any light on when this bug will be fixed? 

0 Kudos
SamuelTroth2
Esri Contributor

Hi, 

This issue will be fixed in the upcoming release ArcGIS Pro 3.1

Sorry that Maplex is performing as you would hope.

 

Regards,

Sam

Esri

CiaraRowland-Simms
Esri Contributor

Interesting! I'm going to loop in @SamuelTroth2 to get his thoughts as I've actually moved to working on a different area since this post so am not up to speed on recent changes to the label engine. Hopefully he'll be able to get to the bottom of the issue!

0 Kudos