Turned settings name wrapping back on
This commit is contained in:
parent
d4c6e58316
commit
7802c423d9
2 changed files with 3 additions and 5 deletions
|
|
@ -730,14 +730,13 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
}
|
||||
}
|
||||
|
||||
public static TextWidget CreateSettingsLabel(string label, string helpText)
|
||||
public static GuiWidget CreateSettingsLabel(string label, string helpText)
|
||||
{
|
||||
return new TextWidget(label, pointSize: 10, textColor: ActiveTheme.Instance.PrimaryTextColor)
|
||||
return new WrappedTextWidget(label, pointSize: 10, textColor: ActiveTheme.Instance.PrimaryTextColor)
|
||||
{
|
||||
VAnchor = VAnchor.Center | VAnchor.Fit,
|
||||
EllipsisIfClipped = true,
|
||||
AutoExpandBoundsToText = false,
|
||||
ToolTipText = helpText,
|
||||
Margin = new BorderDouble(0, 5),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -83,7 +83,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
|
||||
var labelWidget = SliceSettingsWidget.CreateSettingsLabel($"Nozzle {i + 1}", "");
|
||||
labelWidget.Name = $"Nozzle {i}";
|
||||
labelWidget.AutoExpandBoundsToText = true;
|
||||
labelWidget.Margin = new BorderDouble(right: 60, left: 20);
|
||||
row.AddChild(labelWidget);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue