Fix margins

This commit is contained in:
John Lewin 2018-01-23 12:55:10 -08:00
parent 57072df8d5
commit 3501ff1e0d

View file

@ -74,7 +74,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
searchPanel = new SearchInputBox()
{
Visible = false,
Margin = new BorderDouble(8, 0, saveButton.Width + 10, 0)
Margin = new BorderDouble(left: 4)
};
searchPanel.searchInput.ActualTextEditWidget.EnterPressed += (s, e) =>
{
@ -113,6 +113,8 @@ namespace MatterHackers.MatterControl.CustomWidgets
rightPanel.AddChild(saveButton);
this.SetRightAnchorItem(rightPanel);
this.ActionArea.Margin = this.ActionArea.Margin.Clone(right: rightPanel.Width + 5);
}
public override string Text