Browse Source

Document Box.SetBackgroundTransparent

tablepad
Trevor Slocum 2 years ago
parent
commit
093fa4d2ee
  1. 6
      FORK.md
  2. 4
      doc.go

6
FORK.md

@ -38,6 +38,12 @@ tview [blocks until the queued function returns](https://github.com/rivo/tview/b
All clicks are handled as single clicks until an interval is set with [Application.SetDoubleClickInterval](https://docs.rocketnine.space/gitlab.com/tslocum/cview/#Application.SetDoubleClickInterval).
## All primitives have non-transparent backgrounds by default
Setting background colors to `tcell.ColorDefault` is insufficient. Call
`SetBackgroundTransparent(true)` to enable background transparency. See
[#15](https://gitlab.com/tslocum/cview/-/issues/15) for more info.
## Lists and Forms do not wrap around by default
Call `SetWrapAround(true)` to wrap around when navigating.

4
doc.go

@ -137,6 +137,10 @@ character that may be used in color or region tags will be recognized. Examples:
You can use the Escape() function to insert brackets automatically where needed.
Note that setting the background color of a primitive to tcell.ColorDefault is
insufficient to achieve transparency (having one or more widgets behind another
widget). Call SetBackgroundTransparent to enable transparency.
Styles
When primitives are instantiated, they are initialized with colors taken from

Loading…
Cancel
Save