From 4d2fd61cd1523b7537a365f2f8ead6f2d408e09f Mon Sep 17 00:00:00 2001 From: Jaex Date: Sat, 17 Sep 2022 09:59:40 +0300 Subject: [PATCH] Increase maximum font size to 300 --- .../Forms/TextDrawingInputBox.Designer.cs | 8 ++- .../Forms/TextDrawingInputBox.resx | 53 ++++++++++--------- 2 files changed, 35 insertions(+), 26 deletions(-) diff --git a/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.Designer.cs b/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.Designer.cs index 6962c2abd..050baed3c 100644 --- a/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.Designer.cs +++ b/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.Designer.cs @@ -116,6 +116,11 @@ private void InitializeComponent() // nudTextSize // resources.ApplyResources(this.nudTextSize, "nudTextSize"); + this.nudTextSize.Maximum = new decimal(new int[] { + 300, + 0, + 0, + 0}); this.nudTextSize.Minimum = new decimal(new int[] { 5, 0, @@ -133,6 +138,7 @@ private void InitializeComponent() // resources.ApplyResources(this.btnTextColor, "btnTextColor"); this.btnTextColor.Color = System.Drawing.Color.Empty; + this.btnTextColor.ColorPickerOptions = null; this.btnTextColor.Name = "btnTextColor"; this.ttTextInput.SetToolTip(this.btnTextColor, resources.GetString("btnTextColor.ToolTip")); this.btnTextColor.UseVisualStyleBackColor = true; @@ -340,8 +346,8 @@ private void InitializeComponent() // // btnSwapEnterKey // - this.btnSwapEnterKey.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.keyboard_enter; resources.ApplyResources(this.btnSwapEnterKey, "btnSwapEnterKey"); + this.btnSwapEnterKey.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.keyboard_enter; this.btnSwapEnterKey.Name = "btnSwapEnterKey"; this.btnSwapEnterKey.UseVisualStyleBackColor = true; this.btnSwapEnterKey.Click += new System.EventHandler(this.btnSwapEnterKey_Click); diff --git a/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.resx b/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.resx index c9ee18e33..4b536aa28 100644 --- a/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.resx +++ b/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.resx @@ -172,7 +172,7 @@ 31, 13 - 7 + 0 Font: @@ -199,7 +199,7 @@ 158, 21 - 8 + 1 cbFonts @@ -256,7 +256,7 @@ 231, 5 - 49, 20 + 55, 20 3 @@ -283,13 +283,13 @@ NoControl - 286, 3 + 292, 3 24, 24 - 1 + 4 MiddleLeft @@ -304,7 +304,7 @@ btnTextColor - ShareX.HelpersLib.ColorButton, ShareX.HelpersLib, Version=13.2.2.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.ColorButton, ShareX.HelpersLib, Version=14.1.3.0, Culture=neutral, PublicKeyToken=null flpProperties @@ -316,13 +316,13 @@ NoControl - 316, 3 + 322, 3 26, 24 - 11 + 5 Gradient @@ -349,13 +349,13 @@ NoControl - 348, 3 + 354, 3 24, 24 - 4 + 6 Bold @@ -382,13 +382,13 @@ NoControl - 378, 3 + 384, 3 24, 24 - 5 + 7 Italic @@ -415,13 +415,13 @@ NoControl - 408, 3 + 414, 3 24, 24 - 6 + 8 Underline @@ -445,7 +445,7 @@ NoControl - 438, 3 + 444, 3 24, 24 @@ -475,7 +475,7 @@ NoControl - 468, 3 + 474, 3 24, 24 @@ -505,7 +505,7 @@ 518, 32 - 1 + 5 False @@ -535,7 +535,7 @@ 104, 24 - 2 + 3 OK @@ -628,7 +628,7 @@ 0, 13 - 4 + 2 lblTip @@ -655,7 +655,7 @@ 104, 24 - 3 + 4 Cancel @@ -726,6 +726,9 @@ System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Bottom, Left + 8, 328 @@ -733,7 +736,7 @@ 24, 24 - 5 + 1 btnSwapEnterKey @@ -820,25 +823,25 @@ tsrbmiGradientHorizontal - ShareX.HelpersLib.ToolStripRadioButtonMenuItem, ShareX.HelpersLib, Version=13.2.2.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.ToolStripRadioButtonMenuItem, ShareX.HelpersLib, Version=14.1.3.0, Culture=neutral, PublicKeyToken=null tsrbmiGradientVertical - ShareX.HelpersLib.ToolStripRadioButtonMenuItem, ShareX.HelpersLib, Version=13.2.2.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.ToolStripRadioButtonMenuItem, ShareX.HelpersLib, Version=14.1.3.0, Culture=neutral, PublicKeyToken=null tsrbmiGradientForwardDiagonal - ShareX.HelpersLib.ToolStripRadioButtonMenuItem, ShareX.HelpersLib, Version=13.2.2.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.ToolStripRadioButtonMenuItem, ShareX.HelpersLib, Version=14.1.3.0, Culture=neutral, PublicKeyToken=null tsrbmiGradientBackwardDiagonal - ShareX.HelpersLib.ToolStripRadioButtonMenuItem, ShareX.HelpersLib, Version=13.2.2.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.ToolStripRadioButtonMenuItem, ShareX.HelpersLib, Version=14.1.3.0, Culture=neutral, PublicKeyToken=null ttTextInput