* UIForm: 修复一处设置错误
This commit is contained in:
parent
ce8c3f8f89
commit
ef01df366f
Binary file not shown.
@ -90,6 +90,7 @@ namespace Sunny.UI
|
||||
|
||||
public void SetDPIScale()
|
||||
{
|
||||
if (DesignMode) return;
|
||||
if (!IsScaled && UIStyles.DPIScale)
|
||||
{
|
||||
this.SetDPIScaleFont();
|
||||
@ -1270,7 +1271,6 @@ namespace Sunny.UI
|
||||
|
||||
public void SetStyle(UIStyle style)
|
||||
{
|
||||
if (DesignMode) return;
|
||||
this.SuspendLayout();
|
||||
UIStyleHelper.SetChildUIStyle(this, style);
|
||||
|
||||
|
@ -111,7 +111,6 @@ namespace Sunny.UI
|
||||
public void SetDPIScale()
|
||||
{
|
||||
if (DesignMode) return;
|
||||
|
||||
if (!IsScaled)
|
||||
{
|
||||
this.SetDPIScaleFont();
|
||||
|
Loading…
x
Reference in New Issue
Block a user