Made Line use GetAttributeForRole

This commit is contained in:
Tig
2025-10-03 13:07:49 -07:00
parent c8b2568c5d
commit e350b4817e
2 changed files with 5 additions and 4 deletions

View File

@@ -231,7 +231,8 @@ public class Line : View, IOrientation
pos,
length,
Orientation,
Style
Style,
GetAttributeForRole(VisualRole.Normal)
);
return true;

View File

@@ -78,7 +78,7 @@ public class Wizard : Dialog
IsDefault = true
};
//// Add a horiz separator
// 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);