Revise theme support
This commit is contained in:
parent
7ba684ef8d
commit
ee936efb8a
57 changed files with 1562 additions and 458 deletions
|
|
@ -275,7 +275,7 @@ namespace MatterHackers.MatterControl.PrinterControls
|
|||
Padding = new BorderDouble(3),
|
||||
HAnchor = HAnchor.Fit,
|
||||
VAnchor = VAnchor.Center,
|
||||
BackgroundColor = ActiveTheme.Instance.SecondaryBackgroundColor,
|
||||
BackgroundColor = theme.MinimalShade,
|
||||
Height = 20
|
||||
};
|
||||
this.AddChild(zOffsetStreamContainer);
|
||||
|
|
@ -306,7 +306,7 @@ namespace MatterHackers.MatterControl.PrinterControls
|
|||
double zoffset = printerSettings.GetValue<double>(SettingsKey.baby_step_z_offset);
|
||||
bool hasOverriddenZOffset = (zoffset != 0);
|
||||
|
||||
zOffsetStreamContainer.BackgroundColor = (allowRemoveButton && hasOverriddenZOffset) ? theme.PresetColors.UserOverride : ActiveTheme.Instance.SecondaryBackgroundColor;
|
||||
zOffsetStreamContainer.BackgroundColor = (allowRemoveButton && hasOverriddenZOffset) ? theme.PresetColors.UserOverride : theme.MinimalShade;
|
||||
clearZOffsetButton.Visible = allowRemoveButton && hasOverriddenZOffset;
|
||||
|
||||
zOffsetStreamDisplay.Text = zoffset.ToString("0.##");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue