diff --git a/Bin/net40/SunnyUI.Demo.exe b/Bin/net40/SunnyUI.Demo.exe index b22a9a26..9654bca3 100644 Binary files a/Bin/net40/SunnyUI.Demo.exe and b/Bin/net40/SunnyUI.Demo.exe differ diff --git a/Bin/net40/SunnyUI.dll b/Bin/net40/SunnyUI.dll index 8653df33..5a6970a4 100644 Binary files a/Bin/net40/SunnyUI.dll and b/Bin/net40/SunnyUI.dll differ diff --git a/SunnyUI.Demo/Controls/FSplitContainer.designer.cs b/SunnyUI.Demo/Controls/FSplitContainer.designer.cs index cba84c3e..19b049bd 100644 --- a/SunnyUI.Demo/Controls/FSplitContainer.designer.cs +++ b/SunnyUI.Demo/Controls/FSplitContainer.designer.cs @@ -177,7 +177,7 @@ namespace Sunny.UI.Demo // this.AllowShowTitle = true; this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.uiSplitContainer1); this.Name = "FSplitContainer"; diff --git a/SunnyUI.Demo/Units/FCommon.Designer.cs b/SunnyUI.Demo/Units/FCommon.Designer.cs index 8c024a95..1c0ac109 100644 --- a/SunnyUI.Demo/Units/FCommon.Designer.cs +++ b/SunnyUI.Demo/Units/FCommon.Designer.cs @@ -48,7 +48,7 @@ namespace Sunny.UI.Demo // this.AllowShowTitle = true; this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.uiButton1); this.Name = "FCommon"; diff --git a/SunnyUI/Controls/UIIPTextBox.cs b/SunnyUI/Controls/UIIPTextBox.cs index d4dfb8a5..141cd3c5 100644 --- a/SunnyUI/Controls/UIIPTextBox.cs +++ b/SunnyUI/Controls/UIIPTextBox.cs @@ -370,8 +370,7 @@ namespace Sunny.UI // // UIIPTextBox // - this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.Controls.Add(this.txt4); this.Controls.Add(this.txt3); this.Controls.Add(this.txt2); @@ -380,6 +379,7 @@ namespace Sunny.UI this.Name = "UIIPTextBox"; this.Padding = new System.Windows.Forms.Padding(1); this.Size = new System.Drawing.Size(150, 29); + this.Style = Sunny.UI.UIStyle.Custom; this.SizeChanged += new System.EventHandler(this.UIIPTextBox_SizeChanged); this.ResumeLayout(false); this.PerformLayout(); diff --git a/SunnyUI/Forms/UIFormHelper.cs b/SunnyUI/Forms/UIFormHelper.cs index 77b81b7b..52b0f06c 100644 --- a/SunnyUI/Forms/UIFormHelper.cs +++ b/SunnyUI/Forms/UIFormHelper.cs @@ -575,7 +575,7 @@ namespace Sunny.UI { this.SuspendLayout(); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = Color.Black; this.ClientSize = new System.Drawing.Size(800, 450); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;