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:
parent
2e54d2b4ef
commit
a0afbe4a29
4 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue