Select to view content in your preferred language

Customize Flex Editor popup window

2648
5
Jump to solution
02-15-2013 01:57 PM
KomanDiabate
Deactivated User
Hello All,
I trying to find a way to customize ESRI Flex API editor popup. I was wondering if anybody has done this before.
I trying to put a carriage return (\n) into the Attribute inspector label so that the label of the field get broken down into multiple line instead of the long one liner. Wondering if this is even possible. Thanks in advance.
[ATTACH=CONFIG]21857[/ATTACH]
Here is my fieldInspector

<esri:FieldInspector id="pointFI_Checked"       featureLayer="{BMPoints}"   fieldName="Checked"   label="'Is Project Displayed Correctly?' + '\nIf yes, select ???Yes??? in drop down menu and click ???OK??? to save'"    />


Any help on this issue will be appreciated. Thanks All
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Andréde_Mattos_Ferraz
Deactivated User
On code '\n' is working well.. on mxml or any xml to define a line just use '& # 13;' (whitout spaces) line entity:

Test& # 13;test

Result:

Test
test

View solution in original post

0 Kudos
5 Replies
MikeDahm
Frequent Contributor
To make a label split between two lines you need to use
& # 13; 
(without the spaces)  It won't show in the ESRI forum.  Remove the spaces and use inline with the label.  No need for + '' +

I don't know if it will work with the window label.  The forum recognizes the text as a return and will not show the code so I have attached a text file with your label code with the return in it.
0 Kudos
Andréde_Mattos_Ferraz
Deactivated User
On code '\n' is working well.. on mxml or any xml to define a line just use '& # 13;' (whitout spaces) line entity:

Test& # 13;test

Result:

Test
test
0 Kudos
KomanDiabate
Deactivated User
Thank you all,

Test& # 13;test (no space)  worked.
I appreciate your replies.

Koman Diabate
SANDAG
0 Kudos
Andréde_Mattos_Ferraz
Deactivated User
Please don't also forget to mark the post as answered by checking the tick on the answer,

Thank you,
0 Kudos
GISDev1
Deactivated User
Whoops, Nevermind.
0 Kudos