diff --git a/source/ChanSort/MainForm.Designer.cs b/source/ChanSort/MainForm.Designer.cs index 3711ef7..2eb6f20 100644 --- a/source/ChanSort/MainForm.Designer.cs +++ b/source/ChanSort/MainForm.Designer.cs @@ -306,7 +306,7 @@ // // gviewLeft // - this.gviewLeft.Appearance.FocusedRow.Font = ((System.Drawing.Font)(resources.GetObject("gviewLeft.Appearance.FocusedRow.Font"))); + this.gviewLeft.Appearance.FocusedRow.FontStyleDelta = ((System.Drawing.FontStyle)(resources.GetObject("gviewLeft.Appearance.FocusedRow.FontStyleDelta"))); this.gviewLeft.Appearance.FocusedRow.Options.UseFont = true; this.gviewLeft.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gviewLeft.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; @@ -629,7 +629,7 @@ // // gviewRight // - this.gviewRight.Appearance.FocusedRow.Font = ((System.Drawing.Font)(resources.GetObject("gviewRight.Appearance.FocusedRow.Font"))); + this.gviewRight.Appearance.FocusedRow.FontStyleDelta = ((System.Drawing.FontStyle)(resources.GetObject("gviewRight.Appearance.FocusedRow.FontStyleDelta"))); this.gviewRight.Appearance.FocusedRow.Options.UseFont = true; this.gviewRight.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gviewRight.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; diff --git a/source/ChanSort/MainForm.cs b/source/ChanSort/MainForm.cs index 1c4d421..cd1c4b4 100644 --- a/source/ChanSort/MainForm.cs +++ b/source/ChanSort/MainForm.cs @@ -62,7 +62,6 @@ namespace ChanSort.Ui { if (!string.IsNullOrEmpty(Config.Default.Language)) Thread.CurrentThread.CurrentUICulture = new CultureInfo(Config.Default.Language); - //this.LookAndFeel.SetSkinStyle("Office 2010 Blue"); UserLookAndFeel.Default.SkinName = Config.Default.SkinName; InitializeComponent(); @@ -3345,7 +3344,7 @@ namespace ChanSort.Ui return; } - if (deltaSize == Config.Default.FontSizeDelta) // no change => early exit + if (deltaSize == Config.Default.FontSizeDelta && deltaSize == 0) // no change => early exit return; var font = new Font(deltaSize == 0 ? "Tahoma" : "Segoe UI", 8.25f + deltaSize); diff --git a/source/ChanSort/MainForm.resx b/source/ChanSort/MainForm.resx index 9005f56..856fa34 100644 --- a/source/ChanSort/MainForm.resx +++ b/source/ChanSort/MainForm.resx @@ -134,8 +134,8 @@ 2, 56 - - Tahoma, 8.25pt, style=Bold + + Bold Tahoma, 8.25pt, style=Bold @@ -279,7 +279,7 @@ gridLeft - ChanSort.XGridControl, ChanSort, Version=1.0.7876.42315, Culture=neutral, PublicKeyToken=null + ChanSort.XGridControl, ChanSort, Version=1.0.7877.752, Culture=neutral, PublicKeyToken=null grpOutputList @@ -1210,7 +1210,7 @@ gviewLeft - ChanSort.XGridView, ChanSort, Version=1.0.7876.42315, Culture=neutral, PublicKeyToken=null + ChanSort.XGridView, ChanSort, Version=1.0.7877.752, Culture=neutral, PublicKeyToken=null colIndex1 @@ -1294,13 +1294,13 @@ globalImageCollection1 - ChanSort.Ui.GlobalImageCollection, ChanSort, Version=1.0.7876.42315, Culture=neutral, PublicKeyToken=null + ChanSort.Ui.GlobalImageCollection, ChanSort, Version=1.0.7877.752, Culture=neutral, PublicKeyToken=null gviewRight - ChanSort.XGridView, ChanSort, Version=1.0.7876.42315, Culture=neutral, PublicKeyToken=null + ChanSort.XGridView, ChanSort, Version=1.0.7877.752, Culture=neutral, PublicKeyToken=null colIndex @@ -2053,7 +2053,7 @@ DevExpress.XtraEditors.XtraForm, DevExpress.Utils.v21.1, Version=21.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a - 07/25/2021 23:42:00 + 07/26/2021 00:31:08 16, 16 @@ -2556,8 +2556,8 @@ 2, 56 - - Tahoma, 8.25pt, style=Bold + + Bold Tahoma, 8.25pt, style=Bold @@ -2927,7 +2927,7 @@ gridRight - ChanSort.XGridControl, ChanSort, Version=1.0.7876.42315, Culture=neutral, PublicKeyToken=null + ChanSort.XGridControl, ChanSort, Version=1.0.7877.752, Culture=neutral, PublicKeyToken=null grpInputList diff --git a/source/ChanSort/Properties/Config.cs b/source/ChanSort/Properties/Config.cs index 8269a37..3270fa5 100644 --- a/source/ChanSort/Properties/Config.cs +++ b/source/ChanSort/Properties/Config.cs @@ -52,7 +52,7 @@ namespace ChanSort.Ui.Properties public int PrintColumnCount { get; set; } = 2; public bool ExplorerIntegration { get; set; } = false; public bool CheckForUpdates { get; set; } = true; - public int FontSizeDelta { get; set; } + public int FontSizeDelta { get; set; } = 1; public string LeftGridLayout { get; set; } public string RightGridLayout { get; set; }