iOS Question tableview peoblem

tufanv

Expert
Licensed User
Longtime User
Hello

I am having a problem with table view. I checked Erel's tutorial which adds bitmap with two lines from i=1 to 50
I tried it in my code but all the lines are at different alignment. first line start nearly in the middle while second line start at very left. ( bot talking about the item# talking about the first and second line of each item)

Am I doing something wrong ?
 

tufanv

Expert
Licensed User
Longtime User
It is because of this line:
B4X:
tc.IndentationLevel = Rnd(0, 5)

It sets a random indentation level.
btw, When i cahnge the color of tableview it does not change anything because i think i have to change rowcolors but i couldnt find how to change it. I is akways white. Any possiblity to change the color ?
 
Upvote 0
Top