mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
let UI dialogs inherit dpi scale mode to be consistent
This commit is contained in:
parent
961de8a3da
commit
f44a4b32e6
5 changed files with 4 additions and 11 deletions
|
@ -64,8 +64,7 @@ namespace PersistentWindows.Common
|
|||
//
|
||||
// DbKeySelect
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Controls.Add(this.selected);
|
||||
this.Controls.Add(this.Ok);
|
||||
|
|
|
@ -85,8 +85,8 @@ namespace PersistentWindows.Common
|
|||
// LaunchProcess
|
||||
//
|
||||
this.AcceptButton = this.Yes;
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.Notice);
|
||||
|
|
|
@ -327,9 +327,6 @@
|
|||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>8, 16</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>670, 399</value>
|
||||
</data>
|
||||
|
|
|
@ -47,7 +47,6 @@ namespace PersistentWindows.Common
|
|||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(41, 79);
|
||||
this.label1.Name = "label1";
|
||||
|
@ -57,8 +56,7 @@ namespace PersistentWindows.Common
|
|||
//
|
||||
// LayoutProfile
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
this.ClientSize = new System.Drawing.Size(510, 225);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.SnapshotName);
|
||||
|
|
|
@ -68,8 +68,7 @@ namespace PersistentWindows.Common
|
|||
// NameDbEntry
|
||||
//
|
||||
this.AcceptButton = this.button1;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
this.ClientSize = new System.Drawing.Size(609, 300);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.textBox1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue