diff --git a/Terminal.Gui/Views/Line.cs b/Terminal.Gui/Views/Line.cs index a15fd8982..5b5a9c9a8 100644 --- a/Terminal.Gui/Views/Line.cs +++ b/Terminal.Gui/Views/Line.cs @@ -231,7 +231,8 @@ public class Line : View, IOrientation pos, length, Orientation, - Style + Style, + GetAttributeForRole(VisualRole.Normal) ); return true; diff --git a/Terminal.Gui/Views/Wizard/Wizard.cs b/Terminal.Gui/Views/Wizard/Wizard.cs index 250f066b7..a9b011451 100644 --- a/Terminal.Gui/Views/Wizard/Wizard.cs +++ b/Terminal.Gui/Views/Wizard/Wizard.cs @@ -78,8 +78,8 @@ public class Wizard : Dialog IsDefault = true }; - //// Add a horiz separator - var separator = new Line { Orientation = Orientation.Horizontal, X = -1, Y = Pos.Top (BackButton) - 1, Length = Dim.Fill(-1)}; + // Add a horiz separator + var separator = new Line { Orientation = Orientation.Horizontal, X = -1, Y = Pos.Top (BackButton) - 1, Length = Dim.Fill (-1) }; base.Add (separator); AddButton (BackButton); @@ -301,7 +301,7 @@ public class Wizard : Dialog if (previous is { }) { - return GoToStep (previous); + return GoToStep (previous); } return false;