Add new toggle switch style
This commit is contained in:
parent
9a2facbcd5
commit
64a96dd7ff
11 changed files with 529 additions and 74 deletions
|
|
@ -33,6 +33,7 @@ using System.Linq;
|
|||
using MatterHackers.Agg;
|
||||
using MatterHackers.Agg.Platform;
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.Agg.VertexSource;
|
||||
using MatterHackers.DataConverters3D;
|
||||
using MatterHackers.Localizations;
|
||||
using MatterHackers.MatterControl.CustomWidgets;
|
||||
|
|
@ -102,6 +103,12 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
}
|
||||
};
|
||||
|
||||
this.AddChild(new RoundedToggleSwitch(theme)
|
||||
{
|
||||
Width = 100,
|
||||
Height = 34
|
||||
});
|
||||
|
||||
scrollableContent = new FlowLayoutWidget(FlowDirection.TopToBottom)
|
||||
{
|
||||
HAnchor = HAnchor.Stretch,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue