Use correct anchors for new type

- Issue MatterHackers/MCCentral#4619
Clear button missing from search
This commit is contained in:
John Lewin 2018-11-23 17:57:32 -08:00
parent ff0c6ce46a
commit 29bc739166

View file

@ -531,8 +531,8 @@ namespace MatterHackers.MatterControl.PrintLibrary
this.AddChild(searchInput);
var resetButton = theme.CreateSmallResetButton();
resetButton.HAnchor = HAnchor.Right | HAnchor.Fit;
resetButton.VAnchor = VAnchor.Center | VAnchor.Fit;
resetButton.HAnchor |= HAnchor.Right;
resetButton.VAnchor |= VAnchor.Center;
resetButton.Name = "Close Search";
resetButton.ToolTipText = "Clear".Localize();