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

Closed
opened 2021-07-16 21:41:06 +00:00 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 2021-07-17 00:08:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tslocum/cview#71
No description provided.