* DPI缩放的更新

This commit is contained in:
Sunny 2022-01-15 23:27:01 +08:00
parent f425f9fdd3
commit 3d9c29dd04
3 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -117,7 +117,7 @@ namespace Sunny.UI
box.Parent = this; box.Parent = this;
box.Tag = i; box.Tag = i;
box.Style = Style; box.Style = Style;
box.IsScaled = IsScaled;
box.ValueChanged += Box_ValueChanged; box.ValueChanged += Box_ValueChanged;
boxes.Add(box); boxes.Add(box);
} }

View File

@ -97,7 +97,8 @@ namespace Sunny.UI
Font = Font, Font = Font,
Parent = this, Parent = this,
Tag = i, Tag = i,
Style = Style Style = Style,
IsScaled = IsScaled
}; };
button.ValueChanged += Button_ValueChanged; button.ValueChanged += Button_ValueChanged;