mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #995] SetPlaceholderTextColor method not available for *tview.TextArea #721
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#721
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 @HicaroD on GitHub (Jun 5, 2024).
Original GitHub issue: https://github.com/rivo/tview/issues/995
Is there any good reason for this?
I want to change the color of the placeholder text from the text area, but this method is not available for some reason
@eeeXun commented on GitHub (Jun 12, 2024):
Did you try the
SetPlaceholderStyle?@HicaroD commented on GitHub (Jun 16, 2024):
Works perfectly. I got used to
Set__TextColormethod style.Thank you!
@rivo commented on GitHub (Jun 16, 2024):
The
Set__Colormethods are just there for backwards compatibility. At some point, onlySet__Stylemethods were added (and will be added). They allow you to specify many more attributes, like background colour, underline/bold etc. You can even add hyperlinks if you want.