Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Problem with TextCell under iOS

$
0
0

Hello,
in try to show a Text and Detail in 2 Lines.

Example :

"Textline"
"Detailline"

This works in Android without any trouble. But in iOS the Detailline is shown in the same line like the text line on the right side.

Example :
"Textline Detailline"

My code is that simple :

TextCell tc = new TextCell ();
                tc.Text = fr.NodeName;
                tc.Detail = "Node " + fr.NodeID.ToString () + "/" + fr.CurrentClients.ToString () + " Clients";
                tc.Command = navigateCommand;
                tc.CommandParameter = typeof(DetailPage);
                if (fr.Online)
                    tsonline.Add (tc);
                else {
                    tc.TextColor = Color.Red;
                    tsoffline.Add (tc);
                }

You see, very simple and I have no idea why it works in Android but not in iOS.
Any suggestions ?

Best regards from Germany
Axel


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>