Fixed down arrows on edit model page

MatterHackers/MCCentral#538
Lost down arrow for edit options on 3D view
This commit is contained in:
Lars Brubaker 2016-10-06 10:59:51 -07:00
parent 6fc4a40379
commit 8b72131769
8 changed files with 54 additions and 13 deletions

View file

@ -398,7 +398,9 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
buttonRightPanel.Width = 200;
{
string label = "Model".Localize().ToUpper();
expandModelOptions = ExpandMenuOptionFactory.GenerateCheckBoxButton(label, StaticData.Instance.LoadIcon("icon_arrow_right_no_border_32x32.png", 32, 32).InvertLightness());
expandModelOptions = ExpandMenuOptionFactory.GenerateCheckBoxButton(label,
View3DWidget.ArrowRight,
View3DWidget.ArrowDown);
expandModelOptions.Margin = new BorderDouble(bottom: 2);
buttonRightPanel.AddChild(expandModelOptions);
expandModelOptions.Checked = true;
@ -408,7 +410,9 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
//modelOptionsContainer.Visible = false;
buttonRightPanel.AddChild(modelOptionsContainer);
expandDisplayOptions = ExpandMenuOptionFactory.GenerateCheckBoxButton("Display".Localize().ToUpper(), StaticData.Instance.LoadIcon("icon_arrow_right_no_border_32x32.png", 32, 32).InvertLightness());
expandDisplayOptions = ExpandMenuOptionFactory.GenerateCheckBoxButton("Display".Localize().ToUpper(),
View3DWidget.ArrowRight,
View3DWidget.ArrowDown);
expandDisplayOptions.Name = "Display Checkbox";
expandDisplayOptions.Margin = new BorderDouble(bottom: 2);
buttonRightPanel.AddChild(expandDisplayOptions);