fixing interface scaling issues
This commit is contained in:
parent
638a0fb6aa
commit
73599ba022
6 changed files with 25 additions and 25 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue