Use correct anchors for new type
- Issue MatterHackers/MCCentral#4619 Clear button missing from search
This commit is contained in:
parent
ff0c6ce46a
commit
29bc739166
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue