Hi,
I played around with Listview TextSize & Item Heights but I never made it to get as a result alsways for *all* items the wanted text size..
..why??
Here's the code:
and that's the result:
- see list.jpg -
..but why?
I played around with Listview TextSize & Item Heights but I never made it to get as a result alsways for *all* items the wanted text size..
..why??
Here's the code:
B4X:
Sub Button1_Click
ListView1.Clear
ListView1.SingleLineLayout.ItemHeight = 15
ListView1.SingleLineLayout.Label.TextSize = 12 ' this one should be enough, shouldn't it?
For i=0 To 30
ListView1.SingleLineLayout.Label.TextSize = 12 ' ...just desparation...
ListView1.AddSingleLine("This is entry "& i)
Next
ListView1.SingleLineLayout.Label.TextSize = 12
ListView1.Invalidate
End Sub
and that's the result:
- see list.jpg -
..but why?