iOS Question Change TextSize in code

klaus

Expert
Licensed User
Longtime User
How can we get the current font size from a view?
In the previous post we can change the font size knowing the value.
But I would like to multply the current size by a scale factor.
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
pointSize is not (yet) exposed in the Font Object, we can use the NativeObject to get it.

B4X:
Dim FNo As NativeObject = Label1.Font
Log(FNo.GetField("pointSize"))
 
Upvote 0
Top