[GH-ISSUE #771] feature request: InputField.SetTextAlignment() #563

Closed
opened 2026-03-04 01:06:02 +03:00 by kerem · 2 comments
Owner

Originally created by @carpii on GitHub (Nov 16, 2022).
Original GitHub issue: https://github.com/rivo/tview/issues/771

Apologies if this feature is already supported, but I haven't been able to find it in the API docs

It would be very useful to have a TextInput which supports right alignment (for entry of financial amounts, for example)

Currently it just left aligns the value in the Form

Originally created by @carpii on GitHub (Nov 16, 2022). Original GitHub issue: https://github.com/rivo/tview/issues/771 Apologies if this feature is already supported, but I haven't been able to find it in the API docs It would be very useful to have a TextInput which supports right alignment (for entry of financial amounts, for example) Currently it just left aligns the value in the Form
kerem closed this issue 2026-03-04 01:06:03 +03:00
Author
Owner

@carpii commented on GitHub (Nov 16, 2022):

would cause a few UI issues, especially related to the text cursor.

I didn't think this through properly. Closing ticket :-)

<!-- gh-comment-id:1317798797 --> @carpii commented on GitHub (Nov 16, 2022): would cause a few UI issues, especially related to the text cursor. I didn't think this through properly. Closing ticket :-)
Author
Owner

@rivo commented on GitHub (Nov 17, 2022):

It would probably also be helpful for other languages, e.g. Hebrew. But it would add a lot of complexity to the package that I'm not considering it at this point.

<!-- gh-comment-id:1318139974 --> @rivo commented on GitHub (Nov 17, 2022): It would probably also be helpful for other languages, e.g. Hebrew. But it would add a _lot_ of complexity to the package that I'm not considering it at this point.
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
starred/tview#563
No description provided.