gyscos / gyscos/cursive

Setting TextView background color?

Open
#397 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.8k
Forks
270
Avg merge
5d 19h
Merged PRs (30d)
2

Description

Is there a way to set the background color of a `TextView` wrapped in a `BoxView` to some other color than the default / transparent?

I tried:
- Providing a StyledString with a background (sets only the background of the string, not the entire area)
- Looking for setters on TextView; there's a way to set the 'eeffect' but not the background
- Looking at `Layer` which fills an area with a background: but I found no way to set which color

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.