When in landscape, I am trying to put a button on each side of the screen that is 10%x width 80%y height. I would like the text of the button to be rotated 90 degrees, or even more preferable stacked like:
S
U
B
M
I
T
Private Sub Application_Start (Nav As NavigationController)
NavControl = Nav
Page1.Initialize("Page1")
Page1.RootPanel.LoadLayout("1")
NavControl.ShowPage(Page1)
Button1.CustomLabel.Multiline = True
Button1.Text = AddCrlf("SUBMIT")
End Sub
Sub AddCrlf(s As String) As String
Dim sb As StringBuilder
sb.Initialize
For i = 0 To s.Length - 2
sb.Append(s.CharAt(i)).Append(CRLF)
Next
sb.Append(s.CharAt(i))
Return sb.ToString
End Sub