Private Sub Button1_Click
'Not working
CustomListView1.DesignerLabel.As(B4XView).TextSize = 60
End Sub
The DesignerLabel is a template that is used when adding text items. Changing the DesignerLabel properties after the items were already added will have no effect.
You can change the text size with:
B4X:
Private Sub Button1_Click
For i = 0 To CustomListView1.Size - 1
Dim item As CLVItem = CustomListView1.GetRawListItem(i)
If item.TextItem Then
item.Panel.GetView(0).GetView(0).TextSize = 30
End If
Next
End Sub
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.