Work on print history widget.

This commit is contained in:
Kevin Pope 2014-09-24 19:14:31 -07:00
parent 4e4f257737
commit 2faec9d1c0
10 changed files with 191 additions and 47 deletions

View file

@ -246,13 +246,14 @@ namespace MatterHackers.MatterControl
public SolidSlider(Vector2 positionOfTrackFirstValue, double widthInPixels, double minimum = 0, double maximum = 1, Orientation orientation = Orientation.Horizontal)
{
View = new SolidSlideView(this);
View.TrackHeight = widthInPixels;
OriginRelativeParent = positionOfTrackFirstValue;
TotalWidthInPixels = widthInPixels;
//TotalWidthInPixels = widthInPixels;
Orientation = orientation;
Minimum = minimum;
Maximum = maximum;
ThumbWidth = 10;
ThumbHeight = 14;
ThumbWidth = widthInPixels;
ThumbHeight = widthInPixels * 1.4;
MinimumSize = new Vector2(Width, Height);
}