Remove unused subgroup heading implementation
This commit is contained in:
parent
c6b71e5890
commit
40918afe82
1 changed files with 0 additions and 12 deletions
|
|
@ -158,7 +158,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
private PrinterConfig printer;
|
||||
private SettingsContext settingsContext;
|
||||
private bool isPrimarySettingsView;
|
||||
private bool showSubGroupHeadings = false;
|
||||
|
||||
private SearchInputBox searchPanel;
|
||||
private int groupPanelCount = 0;
|
||||
|
|
@ -454,17 +453,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
var subGroupPanel = this.AddSettingRowsForSubgroup(subGroup);
|
||||
if (subGroupPanel != null)
|
||||
{
|
||||
if (showSubGroupHeadings)
|
||||
{
|
||||
var headingColor = theme.Colors.PrimaryTextColor.AdjustLightness(theme.Colors.IsDarkTheme ? 0.5 : 2.8).ToColor();
|
||||
|
||||
// Section heading
|
||||
groupPanel.AddChild(new TextWidget(" " + subGroup.Name.Localize(), textColor: headingColor, pointSize: theme.FontSize10)
|
||||
{
|
||||
Margin = new BorderDouble(left: 8, top: 6, bottom: 4),
|
||||
});
|
||||
}
|
||||
|
||||
groupPanel.AddChild(subGroupPanel);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue