Make the minimum window height 480

Made more controls able to scale down
- color swatch
- tumble control
- default button height
This commit is contained in:
Lars Brubaker 2018-03-20 09:34:02 -07:00
parent 2e54d2b4ef
commit a0afbe4a29
4 changed files with 8 additions and 8 deletions

View file

@ -91,8 +91,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
var colorWidget = new GuiWidget()
{
BackgroundColor = color,
Width = buttonSize,
Height = buttonSize,
Width = buttonSize * GuiWidget.DeviceScale,
Height = buttonSize * GuiWidget.DeviceScale,
Margin = buttonSpacing
};

View file

@ -54,7 +54,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
Vector2 lastMovePosition;
public TumbleCubeControl(InteractionLayer interactionLayer)
: base(100, 100)
: base(100 * GuiWidget.DeviceScale, 100 * GuiWidget.DeviceScale)
{
this.interactionLayer = interactionLayer;