fixed more scaling issues

This commit is contained in:
Lars Brubaker 2020-08-04 14:56:27 -07:00
parent 73599ba022
commit 9df2078d0d
26 changed files with 56 additions and 38 deletions

View file

@ -54,8 +54,8 @@ namespace MatterHackers.MatterControl.CustomWidgets
public ExpandCheckboxButton(string text, ThemeConfig theme, int pointSize = 11, bool expandable = true)
{
arrowRight = AggContext.StaticData.LoadIcon("fa-angle-right_12.png", theme.InvertIcons);
arrowDown = AggContext.StaticData.LoadIcon("fa-angle-down_12.png", theme.InvertIcons);
arrowRight = AggContext.StaticData.LoadIcon("fa-angle-right_12.png", 12, 12, theme.InvertIcons);
arrowDown = AggContext.StaticData.LoadIcon("fa-angle-down_12.png", 12, 12, theme.InvertIcons);
imageButton = new IconButton(arrowRight, theme)
{

View file

@ -260,7 +260,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
public class IconViewItem : ListViewItemBase
{
private static ImageBuffer loadingImage = AggContext.StaticData.LoadIcon("IC_32x32.png");
private static ImageBuffer loadingImage = AggContext.StaticData.LoadIcon("IC_32x32.png", 32, 32);
internal static int ItemPadding = 0;