Hi,
Looks like ArcGIS for Windows Mobile Attribute window doesn't like long texts. Anything that exceeds the length of the display window gets chopped off instead of wrapping the text. Attaching screenshots for reference. Refer to the description field in the screenshot.
Any idea how to fix this?
I am using ArcGIS for Windows Mobile v10.2.1, ArcGIS Server 10.2.2 for Mobile data service.
Found a workaround, was able to set the horizontal scrollbar to auto on feature attribute control.
ESRI<SPAN class="punctuation token">.</SPAN>ArcGIS<SPAN class="punctuation token">.</SPAN>Mobile<SPAN class="punctuation token">.</SPAN>Client<SPAN class="punctuation token">.</SPAN>Controls<SPAN class="punctuation token">.</SPAN>ViewFeatureAttributesControl<SPAN class="punctuation token">.</SPAN>ControlCreatingFeatureAttributes <SPAN class="operator token">+</SPAN><SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">EventHandler</SPAN><SPAN class="operator token"><</SPAN>ViewFeatureAttributesControlEventArgs<SPAN class="operator token">></SPAN><SPAN class="punctuation token">(</SPAN>ViewFeatureAttributesControl_ControlCreatingFeatureAttributes<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN> <SPAN class="keyword token">void</SPAN> <SPAN class="token function">ViewFeatureAttributesControl_ControlCreatingFeatureAttributes</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="keyword token">object</SPAN> sender<SPAN class="punctuation token">,</SPAN> ViewFeatureAttributesControlEventArgs e<SPAN class="punctuation token">)</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">(</SPAN>System<SPAN class="punctuation token">.</SPAN>Windows<SPAN class="punctuation token">.</SPAN>Controls<SPAN class="punctuation token">.</SPAN>ScrollViewer<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">(</SPAN>System<SPAN class="punctuation token">.</SPAN>Windows<SPAN class="punctuation token">.</SPAN>Controls<SPAN class="punctuation token">.</SPAN>ContentControl<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">(</SPAN>e<SPAN class="punctuation token">.</SPAN>Control<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">.</SPAN>Content<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">.</SPAN>HorizontalScrollBarVisibility <SPAN class="operator token">=</SPAN> ScrollBarVisibility<SPAN class="punctuation token">.</SPAN>Auto<SPAN class="punctuation token">;</SPAN> <SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
I 'snoop'ed the application to check what was causing this, looks like the textwrapping property of text block is set to nowrap instead of wrap. (Not sure Why??) Is there a way this can be fixed, considering that the product is in Mature support not sure if ESRI would help here.
Attaching snapshots.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.