How to add padding to a label in b4i?
In this link, many way to add padding to a label.
adding space padding to a uilabel
But how to use this ways?
For example:
let UIEI = UIEdgeInsets(top: 60, left: 20, bottom: 20, right: 24) // as desired
override var intrinsicContentSize:CGSize {...
I'm at a loss here. I need to dynamically draw text with Canvas.DrawText, and while it works the first time around, when the text is changed it overlaps.
I've tried:
Canvas.ClearRect()
Canvas.DrawRect() - with fx.Colors.Transparent
Setting views invisible and visible again
Adding and removing...