[Feature Request] Allow text alignement in Modal to be configured #71

Closed
opened 2 years ago by bacardi55 · 0 comments

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.
tslocum added the
enhancement
label 2 years ago
tslocum closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.