Refactoring VAnchor and HAnchore names

Making more debug info for show bounds
This commit is contained in:
Lars Brubaker 2017-08-07 15:47:27 -07:00
parent 0e641e98b9
commit f7d4163125
113 changed files with 865 additions and 859 deletions

View file

@ -41,14 +41,14 @@ namespace MatterHackers.MatterControl
this.isUnderlined = isUnderlined;
buttonText = new TextWidget(label, pointSize: textHeight);
buttonText.VAnchor = VAnchor.ParentCenter;
buttonText.HAnchor = HAnchor.ParentCenter;
buttonText.VAnchor = VAnchor.Center;
buttonText.HAnchor = HAnchor.Center;
buttonText.TextColor = this.TextColor;
//this.AnchorAll();
this.AddChild(buttonText);
HAnchor = HAnchor.FitToChildren;
VAnchor = VAnchor.FitToChildren;
HAnchor = HAnchor.Fit;
VAnchor = VAnchor.Fit;
}
public override void SendToChildren(object objectToRoute)