mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 07:47:54 +01:00
Made Line use GetAttributeForRole
This commit is contained in:
@@ -231,7 +231,8 @@ public class Line : View, IOrientation
|
||||
pos,
|
||||
length,
|
||||
Orientation,
|
||||
Style
|
||||
Style,
|
||||
GetAttributeForRole(VisualRole.Normal)
|
||||
);
|
||||
|
||||
return true;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user