Fixes #1800. TextView now uses the same colors as TextField. (#1971)

* Fixes #1800. TextView now uses the same colors as TextField.

* Replacing the textview to default in some scenarios.

* Removing TextView ColorScheme from the Wizard component.

* Changing someText color to be different from the help text color.

* Renamed some color methods as requested.

Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
This commit is contained in:
BDisp
2022-09-15 13:43:18 +00:00
committed by GitHub
parent d70966a29c
commit 09f005448e
17 changed files with 108 additions and 100 deletions

View File

@@ -24,7 +24,6 @@ namespace UICatalog.Scenarios {
{
Win.Title = GetName ();
var width = 20;
var colorScheme = Colors.Dialog;
var text = " jamp jemp jimp jomp jump";
var menu = new MenuBar (new MenuBarItem [] {
@@ -39,7 +38,6 @@ namespace UICatalog.Scenarios {
textViewTopLeft = new TextView () {
Width = width,
Height = height,
ColorScheme = colorScheme,
Text = text
};
textViewTopLeft.DrawContent += TextViewTopLeft_DrawContent;
@@ -49,7 +47,6 @@ namespace UICatalog.Scenarios {
X = Pos.AnchorEnd (width),
Width = width,
Height = height,
ColorScheme = colorScheme,
Text = text
};
textViewTopRight.DrawContent += TextViewTopRight_DrawContent;
@@ -59,7 +56,6 @@ namespace UICatalog.Scenarios {
Y = Pos.AnchorEnd (height),
Width = width,
Height = height,
ColorScheme = colorScheme,
Text = text
};
textViewBottomLeft.DrawContent += TextViewBottomLeft_DrawContent;
@@ -70,7 +66,6 @@ namespace UICatalog.Scenarios {
Y = Pos.AnchorEnd (height),
Width = width,
Height = height,
ColorScheme = colorScheme,
Text = text
};
textViewBottomRight.DrawContent += TextViewBottomRight_DrawContent;
@@ -81,7 +76,6 @@ namespace UICatalog.Scenarios {
Y = Pos.Center (),
Width = width,
Height = height,
ColorScheme = colorScheme,
Text = text
};
textViewCentered.DrawContent += TextViewCentered_DrawContent;