Hi,
I have noticed a different behavior between a CustomView with a layout and one with code.
In my opinion this difference should not be, or what do you think?
For Label-CustomView with a layout, the log-output is = 0
For the Label-CustomView with code, the log-output is = 13
For the label standard, the log-output is = 15.86358642578125
Here is the log output:
I have noticed a different behavior between a CustomView with a layout and one with code.
In my opinion this difference should not be, or what do you think?
For Label-CustomView with a layout, the log-output is = 0
For the Label-CustomView with code, the log-output is = 13
For the label standard, the log-output is = 15.86358642578125
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("frmMain")
Log("fsLabelWithLayout1-TextSize=" & fsLabelWithLayout1.TextSize)
Log("lblStandard-TextSize=" & lblStandard.TextSize)
Log("fsLabelWithCode1-TextSize=" & fsLabelWithCode1.TextSize)
End Sub
Here is the log output:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
fsLabelWithLayout1-TextSize=0
lblStandard-TextSize=15.86358642578125
fsLabelWithCode1-TextSize=13
** Activity (main) Resume **