mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user