Cleaning up icon scaling issues

This commit is contained in:
LarsBrubaker 2020-08-05 10:07:40 -07:00
parent 9df2078d0d
commit 7ac7a295f2
11 changed files with 14 additions and 25 deletions

View file

@ -77,7 +77,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
progressBar = new ProgressBar()
{
HAnchor = HAnchor.Stretch,
Height = 2,
Height = 2 * GuiWidget.DeviceScale,
VAnchor = VAnchor.Absolute | VAnchor.Bottom,
FillColor = theme.PrimaryAccentColor,
BorderColor = Color.Transparent,

View file

@ -67,7 +67,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
HAnchor = HAnchor.Stretch,
VAnchor = VAnchor.Absolute | VAnchor.Center,
Height = 2,
Height = 2 * GuiWidget.DeviceScale,
FillColor = theme.PrimaryAccentColor,
BorderColor = Color.Transparent,
Margin = new BorderDouble(left: 16, bottom: 3, top: 15)

View file

@ -43,7 +43,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
this.TrackingObject = trackingObject;
this.view3DWidget = view3DWidget;
view3DWidget.AfterDraw += View3DWidget_AfterDraw;
progressBar = new ProgressBar(80, 15)
progressBar = new ProgressBar(80 * GuiWidget.DeviceScale, 15 * GuiWidget.DeviceScale)
{
FillColor = theme.PrimaryAccentColor,
};