mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 13:55:51 +03:00
[GH-ISSUE #940] How to change the color of a background of inputField #689
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#689
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 @BrunProgramming on GitHub (Jan 18, 2024).
Original GitHub issue: https://github.com/rivo/tview/issues/940
and trying to change the background color of the Inputfield
this is my code
I would appreciate anyone's help
thanks
@rivo commented on GitHub (Mar 5, 2024):
I guess
SetFieldBackgroundColoris what you're looking for.But if you want to change the colour of only one of the input fields, you'd probably have to use
GetFormItemafter constructing the form, cast to an input field, then change its attributes.abdfnx/restoto the list of projects that use tview #1017