mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 13:55:51 +03:00
[GH-ISSUE #771] feature request: InputField.SetTextAlignment() #563
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#563
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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 :-)
@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.