iOS Question Lable with Text in ScrollView, can't see!

b4xscripter

Member
Licensed User
Longtime User
Hi!

I need a help, I try to visualize the text on the lable in ScrollView, but I can't see anything,

B4X:
Sub Process_Globals
    Private contenido As Label
    Private contenidoScv As ScrollView
End Sub

Private Sub Application_Start (Nav As NavigationController)
    contenido.Initialize("contenido")
    contenido.Color=Colors.Blue
    contenido.TextColor=Colors.White
    contenido.Height=500dip
    contenido.Width=1000dip
    contenidoScv.panel.AddView(contenido,0,0,contenidoScv.Width,contenidoScv.width)
    contenido.Text="ALEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  
End Sub

Where is my error? I added ScrollView (contenidoScv) in Designer

Thanks in advance!
 

b4xscripter

Member
Licensed User
Longtime User
Oh, Sorry... I just had a problems with colors....The lable background colors was the same as the scrollview background color.....
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…