Android Question text label does not columnates (Resolved)

Discussion in 'Android Questions' started by anallie0, Mar 9, 2015.

  1. anallie0

    anallie0 Active Member Licensed User

    hi
    now I write and save a list file containing a few lines of text.
    Some of these are to be wrapped. utilizing
    Code:
    &Tab&
    . When I print the file rows are in the column. if I view the same file in a text label does not columnates. is there any way to get this in a label?

    print.jpg
    Screenshot_2015-03-09-14-16-24.jpg
     
  2. Troberg

    Troberg Well-Known Member Licensed User

    I don't think the label has support for tabs.

    Either load it into some kind of more advanced view, or use a fixed width font and add spaces as needed instead of tabs.
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    Change the typeface to MONOSPACE.
     
  4. anallie0

    anallie0 Active Member Licensed User

    I wrote this and now works

    Code:
    Dim n As Int
    Dim Gradi, Back, Sn, SGradi As String

    For n= 0 To ListGradi.Size-1
    Gradi=ListGradi.Get(n)
    Back=ListBack.get(n)

    Sn=
    "     "
    If n+1 < 10 Then Sn="       "
    If n+1 > 99 Then Sn="     "

    If Gradi.Length=2 Then SGradi = "         "
    If Gradi.Length=3 Then SGradi = "       "
    If Gradi.Length=4 Then SGradi = "     "

    labelrepo.Text=labelrepo.Text & 
    "Measurement n° "& (n+1) & Sn & Gradi & SGradi & Back & CRLF
    Next
    ok.png
     
    ellpopeb4a likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice