Cleaning up icon scaling issues
This commit is contained in:
parent
9df2078d0d
commit
7ac7a295f2
11 changed files with 14 additions and 25 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue