更改控件的AutoScaleMode为None
This commit is contained in:
parent
95574c3f00
commit
b87205d795
Binary file not shown.
Binary file not shown.
@ -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";
|
||||
|
2
SunnyUI.Demo/Units/FCommon.Designer.cs
generated
2
SunnyUI.Demo/Units/FCommon.Designer.cs
generated
@ -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";
|
||||
|
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user