From c67db56f7772de2fec5230a71c89ac347ac59a8b Mon Sep 17 00:00:00 2001 From: Tim Danner Date: Tue, 19 Jan 2021 11:03:38 -0600 Subject: [PATCH] Fix high dpi (again?) (#266) --- Src/SwqlStudio/MainForm.Designer.cs | 2 +- Src/SwqlStudio/SwqlStudio.csproj | 1 + Src/SwqlStudio/app.config | 3 +++ Src/SwqlStudio/app.manifest | 9 +++++++++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 Src/SwqlStudio/app.manifest diff --git a/Src/SwqlStudio/MainForm.Designer.cs b/Src/SwqlStudio/MainForm.Designer.cs index 95b06e202..ad1789894 100644 --- a/Src/SwqlStudio/MainForm.Designer.cs +++ b/Src/SwqlStudio/MainForm.Designer.cs @@ -655,8 +655,8 @@ private void InitializeComponent() this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(827, 595); - this.Controls.Add(this.mainToolbar); this.Controls.Add(this.filesDock); + this.Controls.Add(this.mainToolbar); this.Controls.Add(this.menu); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; diff --git a/Src/SwqlStudio/SwqlStudio.csproj b/Src/SwqlStudio/SwqlStudio.csproj index 3d55ae99a..1d675281a 100644 --- a/Src/SwqlStudio/SwqlStudio.csproj +++ b/Src/SwqlStudio/SwqlStudio.csproj @@ -20,6 +20,7 @@ false Main.ico + app.manifest diff --git a/Src/SwqlStudio/app.config b/Src/SwqlStudio/app.config index a68c0e605..a10553573 100644 --- a/Src/SwqlStudio/app.config +++ b/Src/SwqlStudio/app.config @@ -116,6 +116,9 @@ + + + diff --git a/Src/SwqlStudio/app.manifest b/Src/SwqlStudio/app.manifest new file mode 100644 index 000000000..0deaca88f --- /dev/null +++ b/Src/SwqlStudio/app.manifest @@ -0,0 +1,9 @@ + + + + + + + + +