This class uses JavaObject to create a TextFlow node. With a TextFlow you can display rich text with different colors, fonts and other attributes. Usage: - Add the TextFlow class module to your project (Tools - Add Existing Module). - Create a TextFlow object. - Call AddText to add a text...
www.b4x.com
Example:
B4X:
Public Sub SetLineSpacing(Spacing As Double) As TextFlow
lastItem.RunMethod("setLineSpacing", Array(Spacing))
Return Me
End Sub
Note:
It was also added to the library XUI Views (B4JTextFlow)
Worked like a charm in terms of reducing the space between the text, Unfortunately, the purpose of this exercise is to reduce the height of the pane and as near as I can tell the pane created cannot be resized. Changing prefheight seems to have no effect even after adding it to my listview.
prefheight always shows as -1.
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.