xaml - stackpanel Horizontal wrap text WP 8.1 -


code:

<code> <stackpanel orientation="horizontal">                     <textblock text="key1:" fontsize="20" foreground="#73000000" textwrapping="wrap"/>                     <grid><textblock text="small value1" fontsize="20" textwrapping="wrap" />                         </grid>                 </stackpanel>                  <stackpanel orientation="horizontal">                     <textblock text="key2:" fontsize="20" foreground="#73000000" textwrapping="wrap"/>                     <grid>                         <textblock text="long long long long long longlonglong long long longvalue2" fontsize="20" textwrapping="wrap" />                     </grid>                 </stackpanel> </code> 

image screen shot:

enter image description here

i need make transfer of values new line if longer screen.

try using wrap whole word attribute

<textblock textwrapping="wrapwholewords"> 

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -