Switch to horizontal toolbar per feedback

This commit is contained in:
John Lewin 2018-09-10 16:17:59 -07:00
parent cc1731ef90
commit 2534b90c11

View file

@ -237,18 +237,18 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
var tumbleCubeControl = new TumbleCubeControl(this.InteractionLayer, theme)
{
Margin = new BorderDouble(0, 0, 10, 10),
Margin = new BorderDouble(0, 0, 10, 35),
VAnchor = VAnchor.Top,
HAnchor = HAnchor.Right,
};
this.InteractionLayer.AddChild(tumbleCubeControl);
var viewOptionsBar = new FlowLayoutWidget(FlowDirection.TopToBottom)
var viewOptionsBar = new FlowLayoutWidget()
{
HAnchor = HAnchor.Right | HAnchor.Fit,
VAnchor = VAnchor.Top | VAnchor.Fit,
Margin = new BorderDouble(top: tumbleCubeControl.Height + tumbleCubeControl.Margin.Height + 2)
BackgroundColor = theme.MinimalShade
};
this.InteractionLayer.AddChild(viewOptionsBar);