fixing interface scaling issues

This commit is contained in:
LarsBrubaker 2020-08-04 08:15:20 -07:00
parent 638a0fb6aa
commit 73599ba022
6 changed files with 25 additions and 25 deletions

View file

@ -219,15 +219,15 @@ namespace MatterHackers.MatterControl.CustomWidgets
protected ThemeConfig theme;
protected double leftRightMargin;
public IconView(ThemeConfig theme, int thumbnailSize = -1)
public IconView(ThemeConfig theme, double thumbnailSize = -1)
: base(FlowDirection.TopToBottom)
{
this.theme = theme;
if (thumbnailSize != -1)
{
this.ThumbHeight = thumbnailSize;
this.ThumbWidth = thumbnailSize;
this.ThumbHeight = (int)thumbnailSize;
this.ThumbWidth = (int)thumbnailSize;
}
}