Set default_color per TextArea

This commit is contained in:
Héctor Ramón Jiménez 2023-02-27 03:31:34 +01:00 committed by Josh Groves
parent 1dcb1735b4
commit 1f31586c55
3 changed files with 6 additions and 7 deletions

View file

@ -100,4 +100,6 @@ pub struct TextArea<'a, 'b: 'a> {
/// The visible bounds of the text area. This is used to clip the text and doesn't have to
/// match the `left` and `top` values.
pub bounds: TextBounds,
// The default color of the text area.
pub default_color: Color,
}