Use initializer syntax
This commit is contained in:
parent
605c3e0123
commit
171016c16f
2 changed files with 6 additions and 4 deletions
|
|
@ -174,9 +174,12 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
};
|
||||
AddChild(layersButton);
|
||||
|
||||
OverflowButton = new OverflowDropdown(allowLightnessInvert: false);
|
||||
OverflowButton.ToolTipText = "More...".Localize();
|
||||
OverflowButton.Margin = 3;
|
||||
OverflowButton = new OverflowDropdown(allowLightnessInvert: false)
|
||||
{
|
||||
Name = "View3D Overflow Menu",
|
||||
ToolTipText = "More...".Localize(),
|
||||
Margin = 3
|
||||
};
|
||||
AddChild(OverflowButton);
|
||||
|
||||
rotateButton.Checked = true;
|
||||
|
|
|
|||
|
|
@ -556,7 +556,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
syncToPrint.CheckedStateChanged += (s, e) =>
|
||||
{
|
||||
options.SyncToPrint = syncToPrint.Checked;
|
||||
|
||||
SetSyncToPrintVisibility();
|
||||
};
|
||||
popupContainer.AddChild(syncToPrint);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue