F Fox Active Member Licensed User Longtime User Aug 15, 2011 #1 Hello Guys How can i make an Line Break in an Drawtext for example Canvas1.DrawText( "TEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXT", 5, 125dip, Typeface.DEFAULT, 11, Colors.White, "LEFT") but this is to long for the android screen how can i make an line break?
Hello Guys How can i make an Line Break in an Drawtext for example Canvas1.DrawText( "TEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXTTEXT", 5, 125dip, Typeface.DEFAULT, 11, Colors.White, "LEFT") but this is to long for the android screen how can i make an line break?
Erel B4X founder Staff member Licensed User Longtime User Aug 15, 2011 #2 You will need to add CRLF constants yourself. If you want the text to be wrapped automatically then I recommend you to use a Label instead. Upvote 0
You will need to add CRLF constants yourself. If you want the text to be wrapped automatically then I recommend you to use a Label instead.