View definition

(*TextLayout).SetWidth

Defined in github.com/andlabs/ui/draw.go

Description

SetWidth sets the maximum width of the lines of text in a TextLayout. If the given width is negative, then the TextLayout will draw as a single line of text instead.

SetWidth is referenced in 0 repositories