Work on print history widget.
This commit is contained in:
parent
4e4f257737
commit
2faec9d1c0
10 changed files with 191 additions and 47 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue