I have CLV I am using with CLVExpanable. I am loading a layout and then setting the Font Size of the a number of the labels. The labels are defined as B4Xviews and the text size is changed when each time a layout is loaded.
B4i 6.80
This all works fine in B4A and B4J but in B4i as soon as it is finished loading and the code completes it reverts to the font size that is set in designer.
B4i 6.80
B4X:
Sub Class_Globals
' Private fx As JFX
Private lblTitle As B4XView
Private Phone1Lbl As B4XView
Private Phone2Lbl As B4XView
Private EmailLbl As B4XView
.
.
.
Sub CreateItem(clr As Int, Data As Map, Pic As String, Flagged As String, Admin As Byte, ExpandedHeight As Int) As B4XView
'D -Delete, S-Secretary, T-Treasurer, L-Literature, G-Group Rep
Dim p As B4XView = MP.xui.CreatePanel(""), clr2 As Int = clr
p.SetLayoutAnimated(0, 0, 0, MP.PhoneListCV.AsView.Width, ExpandedHeight)
p.LoadLayout("Item")
p.SetLayoutAnimated(0, 0, 0, p.Width, p.GetView(0).Height) 'resize it to the collapsed height
lblTitle.TextSize = 25
Phone1Lbl.TextSize = 25
Phone2Lbl.TextSize = 25
EmailLbl.TextSize = 25
.
.
.
This all works fine in B4A and B4J but in B4i as soon as it is finished loading and the code completes it reverts to the font size that is set in designer.