Refactoring VAnchor and HAnchore names
Making more debug info for show bounds
This commit is contained in:
parent
0e641e98b9
commit
f7d4163125
113 changed files with 865 additions and 859 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue