It would be great to add a function like SetTextAlignement() for modal like on textview so that alignement could be defined programmatically.
Seems that text set in modal with SetText() is always centered if I read this code correctly:
https://code.rocketnine.space/tslocum/cview/src/branch/master/modal.go#L218
It would be great to add a function like SetTextAlignement() for modal like on textview so that alignement could be defined programmatically.
Seems that text set in modal with SetText() is always centered if I read this code correctly:
https://code.rocketnine.space/tslocum/cview/src/branch/master/modal.go#L218
It would be great to add a function like SetTextAlignement() for modal like on textview so that alignement could be defined programmatically.