Switch to constant padding with right margin on buttons

- Previously layout was using variable padding with left margin
This commit is contained in:
John Lewin 2018-05-17 12:41:00 -07:00
parent 4f96518a9b
commit 9967e14328
11 changed files with 28 additions and 31 deletions

View file

@ -52,7 +52,6 @@ namespace MatterHackers.MatterControl.CustomWidgets
this.HAnchor = HAnchor.Stretch;
this.VAnchor = VAnchor.Fit | VAnchor.Center;
this.MinimumSize = new VectorMath.Vector2(0, 1); // Force some minimum bounds to ensure draw and thus onload (and our local init) are called on startup
this.Padding = new BorderDouble(left: 2);
}
public static IEnumerable<ILibraryContainer> ItemAndParents(ILibraryContainer item)