More Progress better implementation

This commit is contained in:
Gregory Diaz 2015-04-11 15:49:20 -07:00
parent 1495a5794d
commit 4f364bdd2f
2 changed files with 4 additions and 3 deletions

View file

@ -22,7 +22,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
: base(FlowDirection.TopToBottom)
{
this.VAnchor = VAnchor.FitToChildren;
VAnchor = VAnchor.FitToChildren;
BackgroundColor = new RGBA_Bytes(0, 0, 0, 120);
@ -42,7 +42,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
this.AddChild(orange);
this.AddChild(lightBlue);
Margin = new BorderDouble(75);
Margin = new BorderDouble(top:75, left: 5, right: 530);
}

View file

@ -259,6 +259,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
ColorGradientWidget gradient = new ColorGradientWidget();
gradient.VAnchor = Agg.UI.VAnchor.ParentTop;
gradient.HAnchor = Agg.UI.HAnchor.ParentLeftRight;
AddChild(gradient);
viewControls3D = new ViewControls3D(meshViewerWidget);