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

@ -48,7 +48,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
private SearchInputBox searchPanel;
public InlineTitleEdit(string title, ThemeConfig theme, string automationName, bool boldFont = false)
: base(null)
: base(theme)
{
this.Padding = theme.ToolbarPadding;
this.HAnchor = HAnchor.Stretch;