Is there a ascii char (non printable) to suggest where to split a string when needed. This in order to show in a cell correctly, even when the screen is rotated. I use buttons in a 5x2 grid in this example.
So, "powerslave" change to "power slave" when the text is wrapped to fit into the cell incase the screen is vertical.
eg. "stalingrad" does not fit into a cell, so I would like the have "staling grad" when the screen is vertical.
I want to use it for a xamarin android app. Now xamarin (4.8) makes "stalingra d" or "powerslav e". I do not have any control because there is no wrapping feedback.
I think the only character that can wrap text in xamarin forms is the 0x20 space char.
So, I updated a TTF font. I 0x20 copied space to the underscore and modified the space char 0x20 to 0 horizontal width.
How to use custom forts I found here (by Gerald Versluis).
Now I can parse any text. Replace any " " with "_ ", and whenever a wrap is allowed I can use a " ".
<Button Grid.Row="0" Grid.Column="0" Text="Aces_ High" />
<Button Grid.Row="0" Grid.Column="1" Text="Agents_ of_ Steel" />
<Button Grid.Row="1" Grid.Column="0" Text="Break ing_ the_ Law" />
<Button Grid.Row="1" Grid.Column="1" Text="Fast_ as_ a_ Shark" />
<Button Grid.Row="2" Grid.Column="0" Text="fht_ Bells_ Tolls" />
<Button Grid.Row="2" Grid.Column="1" Text="Holy_ Diver" />
<Button Grid.Row="3" Grid.Column="0" Text="Mad_ House" />
<Button Grid.Row="3" Grid.Column="1" Text="Power slave" />
<Button Grid.Row="4" Grid.Column="0" Text="Symp_ of_ De struct ion" />
<Button Grid.Row="4" Grid.Column="1" Text="Stalin grad" />
<Button Grid.Row="5" Grid.Column="0" Text="t_ Number_ ot_ Beast" />
<Button Grid.Row="5" Grid.Column="1" Text="Stop" />
Then I get this result. Actually, I would expect this functionality would be in the xamarin platform.