Use theme instance color rather than static from HLine constructor
This commit is contained in:
parent
96cbdf9abe
commit
9cd45b63e8
1 changed files with 2 additions and 1 deletions
|
|
@ -64,7 +64,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
||||||
{
|
{
|
||||||
var line = new HorizontalLine(40)
|
var line = new HorizontalLine(40)
|
||||||
{
|
{
|
||||||
Margin = new BorderDouble(PopupMenu.GutterWidth - 8, 1, 8, 1)
|
Margin = new BorderDouble(PopupMenu.GutterWidth - 8, 1, 8, 1),
|
||||||
|
BackgroundColor = theme.GetBorderColor(40)
|
||||||
};
|
};
|
||||||
|
|
||||||
this.AddChild(line);
|
this.AddChild(line);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue