Move TextButtonPadding state up to theme
- Issue MatterHackers/MCCentral#3535 Exception in LoadRootWindow before theme assignment results in explode
This commit is contained in:
parent
f733c05d4f
commit
d6d4c0ac86
4 changed files with 7 additions and 5 deletions
|
|
@ -171,7 +171,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
this.AddChild(new TextButton("Print".Localize(), theme)
|
||||
{
|
||||
Selectable = false,
|
||||
Padding = theme.ButtonFactory.Options.Margin.Clone(right: 5)
|
||||
Padding = theme.TextButtonPadding.Clone(right: 5)
|
||||
});
|
||||
|
||||
ActiveSliceSettings.SettingChanged.RegisterEvent((s, e) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue