Base Popover on TopToBottom FlowLayout

This commit is contained in:
John Lewin 2019-01-02 12:11:44 -08:00
parent 50a88edf31
commit f7430778fe
2 changed files with 3 additions and 2 deletions

View file

@ -34,7 +34,7 @@ using MatterHackers.Agg.VertexSource;
namespace MatterHackers.MatterControl.PartPreviewWindow
{
public class Popover : GuiWidget
public class Popover : FlowLayoutWidget
{
private IVertexSource tabShape = null;
private Stroke tabStroke;
@ -49,6 +49,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
/// <param name="notchSize">The size of the arrow notch</param>
/// <param name="p2">The arrow offset in x or y given the specified arrow</param>
public Popover(ArrowDirection arrowDirection, BorderDouble padding, int notchSize, int p2, bool autoBorderColor = true)
: base (FlowDirection.TopToBottom)
{
this.originalPadding = padding;
this.NotchSize = notchSize;