Changed widget layout for the Transparent checkbox so that it is aligned with the other checkboxes on that control
This commit is contained in:
parent
0953cb6e51
commit
37d4a2811b
1 changed files with 4 additions and 5 deletions
|
|
@ -624,16 +624,15 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
gcodeViewWidget.SimulateExtrusion = simulateExtrusion.Checked;
|
||||
};
|
||||
|
||||
layerInfoContainer.AddChild(simulateExtrusion);
|
||||
}
|
||||
|
||||
// put in a render extrusion transparent checkbox
|
||||
{
|
||||
CheckBox transparentExtrusion = new CheckBox(LocalizedString.Get("Transparent"), textColor: ActiveTheme.Instance.PrimaryTextColor)
|
||||
{
|
||||
Checked = gcodeViewWidget.TransparentExtrusion,
|
||||
Margin = new BorderDouble(5, 0, 0, 0) * TextWidget.GlobalPointSizeScaleRatio,
|
||||
HAnchor = HAnchor.ParentLeft,
|
||||
CheckBox transparentExtrusion = new CheckBox(LocalizedString.Get("Transparent"), textColor: ActiveTheme.Instance.PrimaryTextColor)
|
||||
{
|
||||
Checked = gcodeViewWidget.TransparentExtrusion,
|
||||
};
|
||||
|
||||
transparentExtrusion.CheckedStateChanged += (sender, e) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue