From 905e639060367ea89c6010b376f9f2ade036a39d Mon Sep 17 00:00:00 2001 From: christianwade Date: Tue, 29 Aug 2017 14:30:39 -0700 Subject: [PATCH] More DPI --- .../Properties/AssemblyInfo.cs | 4 ++-- .../Properties/AssemblyInfo.cs | 4 ++-- .../BismNormalizer/Properties/AssemblyInfo.cs | 4 ++-- .../TabularCompare/UI/BlobCredentials.cs | 10 ++++++++++ .../BismNormalizer/source.extension.vsixmanifest | 2 +- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/BismNormalizer/BismNormalizer.CommandLine/Properties/AssemblyInfo.cs b/BismNormalizer/BismNormalizer.CommandLine/Properties/AssemblyInfo.cs index 84eaaef..4038c74 100644 --- a/BismNormalizer/BismNormalizer.CommandLine/Properties/AssemblyInfo.cs +++ b/BismNormalizer/BismNormalizer.CommandLine/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("4.0.0.14")] -[assembly: AssemblyFileVersion("4.0.0.14")] +[assembly: AssemblyVersion("4.0.0.15")] +[assembly: AssemblyFileVersion("4.0.0.15")] diff --git a/BismNormalizer/BismNormalizer.IconSetup/Properties/AssemblyInfo.cs b/BismNormalizer/BismNormalizer.IconSetup/Properties/AssemblyInfo.cs index 811c429..0ea94ed 100644 --- a/BismNormalizer/BismNormalizer.IconSetup/Properties/AssemblyInfo.cs +++ b/BismNormalizer/BismNormalizer.IconSetup/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("4.0.0.14")] -[assembly: AssemblyFileVersion("4.0.0.14")] +[assembly: AssemblyVersion("4.0.0.15")] +[assembly: AssemblyFileVersion("4.0.0.15")] diff --git a/BismNormalizer/BismNormalizer/Properties/AssemblyInfo.cs b/BismNormalizer/BismNormalizer/Properties/AssemblyInfo.cs index 917d3aa..3d48a43 100644 --- a/BismNormalizer/BismNormalizer/Properties/AssemblyInfo.cs +++ b/BismNormalizer/BismNormalizer/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("4.0.0.14")] -[assembly: AssemblyFileVersion("4.0.0.14")] +[assembly: AssemblyVersion("4.0.0.15")] +[assembly: AssemblyFileVersion("4.0.0.15")] diff --git a/BismNormalizer/BismNormalizer/TabularCompare/UI/BlobCredentials.cs b/BismNormalizer/BismNormalizer/TabularCompare/UI/BlobCredentials.cs index 1f05842..e6a17c8 100644 --- a/BismNormalizer/BismNormalizer/TabularCompare/UI/BlobCredentials.cs +++ b/BismNormalizer/BismNormalizer/TabularCompare/UI/BlobCredentials.cs @@ -62,6 +62,11 @@ namespace BismNormalizer.TabularCompare.UI control.Font = new Font(control.Font.FontFamily, control.Font.Size * dpiScaleFactorFudged * 1.1f * HighDPIUtils.PrimaryFudgeFactor, control.Font.Style); + control.Left = control.Left - 90; + if (control.Name == "btnCancel") + { + control.Left = control.Left - 60; + } } else { @@ -70,6 +75,11 @@ namespace BismNormalizer.TabularCompare.UI control.Font.Size * dpiScaleFactorFudged * 1.4f * HighDPIUtils.PrimaryFudgeFactor, control.Font.Style); } + + if (control is Button || control is TextBox || control is ComboBox) + { + control.Width = Convert.ToInt32(control.Width * 0.78); + } } } else diff --git a/BismNormalizer/BismNormalizer/source.extension.vsixmanifest b/BismNormalizer/BismNormalizer/source.extension.vsixmanifest index 8eaeb7f..32891e8 100644 --- a/BismNormalizer/BismNormalizer/source.extension.vsixmanifest +++ b/BismNormalizer/BismNormalizer/source.extension.vsixmanifest @@ -1,7 +1,7 @@  - + BISM Normalizer BISM Normalizer manages Analysis Services tabular models http://bism-normalizer.com/