Yes. I write the DefaultTextSize to log and get like below. Sorry, quite a long post.
'Inserts a text item at the specified index.
Public Sub InsertAtTextItem(Index As Int, Text As String, Value As Object)
Dim pnl As Panel
pnl.Initialize("")
Dim lbl As Label
lbl.Initialize("")
lbl.Gravity = Bit.OR(Gravity.CENTER_VERTICAL, Gravity.LEFT)
pnl.AddView(lbl, 5dip, 2dip, sv.Width - 5dip, 20dip)
lbl.Text = Text
Log("DefaultTextSize: " & DefaultTextSize)
lbl.TextSize = DefaultTextSize
lbl.TextColor = DefaultTextColor
If DefaultTextBackground <> Null Then
pnl.Background = DefaultTextBackground
Else
pnl.Color = DefaultTextBackgroundColor
End If
Dim minHeight As Int
minHeight = su.MeasureMultilineTextHeight(lbl, Text)
lbl.Height = Max(50dip, minHeight)
InsertAt(Index, pnl, lbl.Height + 2dip, Value)
End Sub
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = true **
DefaultTextSize: 26
DefaultTextSize: 26
DefaultTextSize: 26
DefaultTextSize: 26
DefaultTextSize: 26
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
DefaultTextSize: 33
DefaultTextSize: 33
DefaultTextSize: 33
DefaultTextSize: 33
DefaultTextSize: 33
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
DefaultTextSize: 43
DefaultTextSize: 43
DefaultTextSize: 43
DefaultTextSize: 43
DefaultTextSize: 43
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
DefaultTextSize: 54
DefaultTextSize: 54
DefaultTextSize: 54
DefaultTextSize: 54
DefaultTextSize: 54
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
DefaultTextSize: 69
DefaultTextSize: 69
DefaultTextSize: 69
DefaultTextSize: 69
DefaultTextSize: 69
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
DefaultTextSize: 88
DefaultTextSize: 88
DefaultTextSize: 88
DefaultTextSize: 88
DefaultTextSize: 88
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
DefaultTextSize: 113
DefaultTextSize: 113
DefaultTextSize: 113
DefaultTextSize: 113
DefaultTextSize: 113
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
DefaultTextSize: 143
DefaultTextSize: 143
DefaultTextSize: 143
DefaultTextSize: 143
DefaultTextSize: 143
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
DefaultTextSize: 182
DefaultTextSize: 182
DefaultTextSize: 182
DefaultTextSize: 182
DefaultTextSize: 182
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
DefaultTextSize: 232
DefaultTextSize: 232
DefaultTextSize: 232
DefaultTextSize: 232
DefaultTextSize: 232
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
DefaultTextSize: 26
DefaultTextSize: 26
DefaultTextSize: 26
DefaultTextSize: 26
DefaultTextSize: 26
** Activity (main) Resume **