Added tooltips to input box

This commit is contained in:
Jaex 2018-06-18 21:37:47 +03:00
parent 09f0ecc7e3
commit 2310e02260
4 changed files with 191 additions and 146 deletions

View file

@ -36,12 +36,13 @@ private void InitializeComponent()
this.cbFonts = new System.Windows.Forms.ComboBox();
this.lblTextSize = new System.Windows.Forms.Label();
this.nudTextSize = new System.Windows.Forms.NumericUpDown();
this.btnTextColor = new ShareX.HelpersLib.ColorButton();
this.btnGradient = new System.Windows.Forms.Button();
this.cbBold = new System.Windows.Forms.CheckBox();
this.cbItalic = new System.Windows.Forms.CheckBox();
this.cbUnderline = new System.Windows.Forms.CheckBox();
this.btnAlignmentHorizontal = new System.Windows.Forms.Button();
this.btnAlignmentVertical = new System.Windows.Forms.Button();
this.btnGradient = new System.Windows.Forms.Button();
this.btnOK = new System.Windows.Forms.Button();
this.cmsAlignmentHorizontal = new System.Windows.Forms.ContextMenuStrip(this.components);
this.tsmiAlignmentLeft = new System.Windows.Forms.ToolStripMenuItem();
@ -54,14 +55,14 @@ private void InitializeComponent()
this.lblTip = new System.Windows.Forms.Label();
this.btnCancel = new System.Windows.Forms.Button();
this.cmsGradient = new System.Windows.Forms.ContextMenuStrip(this.components);
this.tsmiSecondColor = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiEnableGradient = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiSecondColor = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiGradientMode = new System.Windows.Forms.ToolStripMenuItem();
this.btnTextColor = new ShareX.HelpersLib.ColorButton();
this.tsrbmiGradientHorizontal = new ShareX.HelpersLib.ToolStripRadioButtonMenuItem();
this.tsrbmiGradientVertical = new ShareX.HelpersLib.ToolStripRadioButtonMenuItem();
this.tsrbmiGradientForwardDiagonal = new ShareX.HelpersLib.ToolStripRadioButtonMenuItem();
this.tsrbmiGradientBackwardDiagonal = new ShareX.HelpersLib.ToolStripRadioButtonMenuItem();
this.ttTextInput = new System.Windows.Forms.ToolTip(this.components);
this.flpProperties.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudTextSize)).BeginInit();
this.cmsAlignmentHorizontal.SuspendLayout();
@ -127,11 +128,30 @@ private void InitializeComponent()
0});
this.nudTextSize.ValueChanged += new System.EventHandler(this.nudTextSize_ValueChanged);
//
// btnTextColor
//
resources.ApplyResources(this.btnTextColor, "btnTextColor");
this.btnTextColor.Color = System.Drawing.Color.Empty;
this.btnTextColor.Name = "btnTextColor";
this.ttTextInput.SetToolTip(this.btnTextColor, resources.GetString("btnTextColor.ToolTip"));
this.btnTextColor.UseVisualStyleBackColor = true;
this.btnTextColor.ColorChanged += new ShareX.HelpersLib.ColorButton.ColorChangedEventHandler(this.btnTextColor_ColorChanged);
//
// btnGradient
//
this.btnGradient.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.gradient;
resources.ApplyResources(this.btnGradient, "btnGradient");
this.btnGradient.Name = "btnGradient";
this.ttTextInput.SetToolTip(this.btnGradient, resources.GetString("btnGradient.ToolTip"));
this.btnGradient.UseVisualStyleBackColor = true;
this.btnGradient.Click += new System.EventHandler(this.btnGradient_Click);
//
// cbBold
//
resources.ApplyResources(this.cbBold, "cbBold");
this.cbBold.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.edit_bold;
this.cbBold.Name = "cbBold";
this.ttTextInput.SetToolTip(this.cbBold, resources.GetString("cbBold.ToolTip"));
this.cbBold.UseVisualStyleBackColor = true;
this.cbBold.CheckedChanged += new System.EventHandler(this.cbBold_CheckedChanged);
//
@ -140,6 +160,7 @@ private void InitializeComponent()
resources.ApplyResources(this.cbItalic, "cbItalic");
this.cbItalic.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.edit_italic;
this.cbItalic.Name = "cbItalic";
this.ttTextInput.SetToolTip(this.cbItalic, resources.GetString("cbItalic.ToolTip"));
this.cbItalic.UseVisualStyleBackColor = true;
this.cbItalic.CheckedChanged += new System.EventHandler(this.cbItalic_CheckedChanged);
//
@ -148,6 +169,7 @@ private void InitializeComponent()
resources.ApplyResources(this.cbUnderline, "cbUnderline");
this.cbUnderline.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.edit_underline;
this.cbUnderline.Name = "cbUnderline";
this.ttTextInput.SetToolTip(this.cbUnderline, resources.GetString("cbUnderline.ToolTip"));
this.cbUnderline.UseVisualStyleBackColor = true;
this.cbUnderline.CheckedChanged += new System.EventHandler(this.cbUnderline_CheckedChanged);
//
@ -156,6 +178,7 @@ private void InitializeComponent()
resources.ApplyResources(this.btnAlignmentHorizontal, "btnAlignmentHorizontal");
this.btnAlignmentHorizontal.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.edit_alignment_center;
this.btnAlignmentHorizontal.Name = "btnAlignmentHorizontal";
this.ttTextInput.SetToolTip(this.btnAlignmentHorizontal, resources.GetString("btnAlignmentHorizontal.ToolTip"));
this.btnAlignmentHorizontal.UseVisualStyleBackColor = true;
this.btnAlignmentHorizontal.Click += new System.EventHandler(this.btnAlignmentHorizontal_Click);
//
@ -164,17 +187,10 @@ private void InitializeComponent()
resources.ApplyResources(this.btnAlignmentVertical, "btnAlignmentVertical");
this.btnAlignmentVertical.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.edit_vertical_alignment_middle;
this.btnAlignmentVertical.Name = "btnAlignmentVertical";
this.ttTextInput.SetToolTip(this.btnAlignmentVertical, resources.GetString("btnAlignmentVertical.ToolTip"));
this.btnAlignmentVertical.UseVisualStyleBackColor = true;
this.btnAlignmentVertical.Click += new System.EventHandler(this.btnAlignmentVertical_Click);
//
// btnGradient
//
this.btnGradient.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.gradient;
resources.ApplyResources(this.btnGradient, "btnGradient");
this.btnGradient.Name = "btnGradient";
this.btnGradient.UseVisualStyleBackColor = true;
this.btnGradient.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnGradient_MouseDown);
//
// btnOK
//
resources.ApplyResources(this.btnOK, "btnOK");
@ -264,12 +280,6 @@ private void InitializeComponent()
this.cmsGradient.Name = "cmsGradient";
resources.ApplyResources(this.cmsGradient, "cmsGradient");
//
// tsmiSecondColor
//
this.tsmiSecondColor.Name = "tsmiSecondColor";
resources.ApplyResources(this.tsmiSecondColor, "tsmiSecondColor");
this.tsmiSecondColor.Click += new System.EventHandler(this.tsmiSecondColor_Click);
//
// tsmiEnableGradient
//
this.tsmiEnableGradient.CheckOnClick = true;
@ -277,6 +287,12 @@ private void InitializeComponent()
resources.ApplyResources(this.tsmiEnableGradient, "tsmiEnableGradient");
this.tsmiEnableGradient.Click += new System.EventHandler(this.tsmiEnableGradient_Click);
//
// tsmiSecondColor
//
this.tsmiSecondColor.Name = "tsmiSecondColor";
resources.ApplyResources(this.tsmiSecondColor, "tsmiSecondColor");
this.tsmiSecondColor.Click += new System.EventHandler(this.tsmiSecondColor_Click);
//
// tsmiGradientMode
//
this.tsmiGradientMode.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@ -287,14 +303,6 @@ private void InitializeComponent()
this.tsmiGradientMode.Name = "tsmiGradientMode";
resources.ApplyResources(this.tsmiGradientMode, "tsmiGradientMode");
//
// btnTextColor
//
resources.ApplyResources(this.btnTextColor, "btnTextColor");
this.btnTextColor.Color = System.Drawing.Color.Empty;
this.btnTextColor.Name = "btnTextColor";
this.btnTextColor.UseVisualStyleBackColor = true;
this.btnTextColor.ColorChanged += new ShareX.HelpersLib.ColorButton.ColorChangedEventHandler(this.btnTextColor_ColorChanged);
//
// tsrbmiGradientHorizontal
//
this.tsrbmiGradientHorizontal.CheckOnClick = true;
@ -323,6 +331,12 @@ private void InitializeComponent()
resources.ApplyResources(this.tsrbmiGradientBackwardDiagonal, "tsrbmiGradientBackwardDiagonal");
this.tsrbmiGradientBackwardDiagonal.Click += new System.EventHandler(this.tsrbmiGradientBackwardDiagonal_Click);
//
// ttTextInput
//
this.ttTextInput.AutoPopDelay = 5000;
this.ttTextInput.InitialDelay = 200;
this.ttTextInput.ReshowDelay = 100;
//
// TextDrawingInputBox
//
resources.ApplyResources(this, "$this");
@ -384,5 +398,6 @@ private void InitializeComponent()
private HelpersLib.ToolStripRadioButtonMenuItem tsrbmiGradientVertical;
private HelpersLib.ToolStripRadioButtonMenuItem tsrbmiGradientForwardDiagonal;
private HelpersLib.ToolStripRadioButtonMenuItem tsrbmiGradientBackwardDiagonal;
private System.Windows.Forms.ToolTip ttTextInput;
}
}

View file

@ -137,12 +137,42 @@ private void btnTextColor_ColorChanged(Color color)
UpdateInputBox();
}
private void btnGradient_MouseDown(object sender, MouseEventArgs e)
private void btnGradient_Click(object sender, EventArgs e)
{
if (e.Button == MouseButtons.Left)
{
cmsGradient.Show(btnGradient, new Point(1, btnGradient.Height));
}
cmsGradient.Show(btnGradient, 1, btnGradient.Height + 1);
}
private void tsmiEnableGradient_Click(object sender, EventArgs e)
{
Options.Gradient = tsmiEnableGradient.Checked;
}
private void tsmiSecondColor_Click(object sender, EventArgs e)
{
ColorPickerForm.PickColor(Options.Color2, out Color newColor, this);
Options.Color2 = newColor;
if (tsmiSecondColor.Image != null) tsmiSecondColor.Image.Dispose();
tsmiSecondColor.Image = ImageHelpers.CreateColorPickerIcon(Options.Color2, new Rectangle(0, 0, 16, 16));
}
private void tsrbmiGradientHorizontal_Click(object sender, EventArgs e)
{
Options.GradientMode = LinearGradientMode.Horizontal;
}
private void tsrbmiGradientVertical_Click(object sender, EventArgs e)
{
Options.GradientMode = LinearGradientMode.Vertical;
}
private void tsrbmiGradientForwardDiagonal_Click(object sender, EventArgs e)
{
Options.GradientMode = LinearGradientMode.ForwardDiagonal;
}
private void tsrbmiGradientBackwardDiagonal_Click(object sender, EventArgs e)
{
Options.GradientMode = LinearGradientMode.BackwardDiagonal;
}
private void cbBold_CheckedChanged(object sender, EventArgs e)
@ -165,7 +195,7 @@ private void cbUnderline_CheckedChanged(object sender, EventArgs e)
private void btnAlignmentHorizontal_Click(object sender, EventArgs e)
{
cmsAlignmentHorizontal.Show(btnAlignmentHorizontal, 0, btnAlignmentHorizontal.Height + 1);
cmsAlignmentHorizontal.Show(btnAlignmentHorizontal, 1, btnAlignmentHorizontal.Height + 1);
}
private void tsmiAlignmentLeft_Click(object sender, EventArgs e)
@ -191,7 +221,7 @@ private void tsmiAlignmentRight_Click(object sender, EventArgs e)
private void btnAlignmentVertical_Click(object sender, EventArgs e)
{
cmsAlignmentVertical.Show(btnAlignmentVertical, 0, btnAlignmentVertical.Height + 1);
cmsAlignmentVertical.Show(btnAlignmentVertical, 1, btnAlignmentVertical.Height + 1);
}
private void tsmiAlignmentTop_Click(object sender, EventArgs e)
@ -313,38 +343,5 @@ private void UpdateVerticalAlignmentImage()
break;
}
}
private void tsmiEnableGradient_Click(object sender, EventArgs e)
{
Options.Gradient = tsmiEnableGradient.Checked;
}
private void tsmiSecondColor_Click(object sender, EventArgs e)
{
ColorPickerForm.PickColor(Options.Color2, out Color newColor, this);
Options.Color2 = newColor;
if (tsmiSecondColor.Image != null) tsmiSecondColor.Image.Dispose();
tsmiSecondColor.Image = ImageHelpers.CreateColorPickerIcon(Options.Color2, new Rectangle(0, 0, 16, 16));
}
private void tsrbmiGradientHorizontal_Click(object sender, EventArgs e)
{
Options.GradientMode = LinearGradientMode.Horizontal;
}
private void tsrbmiGradientVertical_Click(object sender, EventArgs e)
{
Options.GradientMode = LinearGradientMode.Vertical;
}
private void tsrbmiGradientForwardDiagonal_Click(object sender, EventArgs e)
{
Options.GradientMode = LinearGradientMode.ForwardDiagonal;
}
private void tsrbmiGradientBackwardDiagonal_Click(object sender, EventArgs e)
{
Options.GradientMode = LinearGradientMode.BackwardDiagonal;
}
}
}

View file

@ -432,6 +432,72 @@
<data name="&gt;&gt;nudTextSize.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<metadata name="ttTextInput.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>493, 17</value>
</metadata>
<data name="btnTextColor.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
<data name="btnTextColor.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="btnTextColor.Location" type="System.Drawing.Point, System.Drawing">
<value>286, 3</value>
</data>
<data name="btnTextColor.Size" type="System.Drawing.Size, System.Drawing">
<value>24, 24</value>
</data>
<data name="btnTextColor.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="btnTextColor.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleLeft</value>
</data>
<data name="btnTextColor.ToolTip" xml:space="preserve">
<value>Text color</value>
</data>
<data name="&gt;&gt;btnTextColor.Name" xml:space="preserve">
<value>btnTextColor</value>
</data>
<data name="&gt;&gt;btnTextColor.Type" xml:space="preserve">
<value>ShareX.HelpersLib.ColorButton, ShareX.HelpersLib, Version=12.2.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;btnTextColor.Parent" xml:space="preserve">
<value>flpProperties</value>
</data>
<data name="&gt;&gt;btnTextColor.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<metadata name="ttTextInput.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>493, 17</value>
</metadata>
<data name="btnGradient.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="btnGradient.Location" type="System.Drawing.Point, System.Drawing">
<value>316, 3</value>
</data>
<data name="btnGradient.Size" type="System.Drawing.Size, System.Drawing">
<value>26, 24</value>
</data>
<data name="btnGradient.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="btnGradient.ToolTip" xml:space="preserve">
<value>Gradient</value>
</data>
<data name="&gt;&gt;btnGradient.Name" xml:space="preserve">
<value>btnGradient</value>
</data>
<data name="&gt;&gt;btnGradient.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;btnGradient.Parent" xml:space="preserve">
<value>flpProperties</value>
</data>
<data name="&gt;&gt;btnGradient.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="cbBold.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
@ -450,6 +516,9 @@
<data name="cbBold.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="cbBold.ToolTip" xml:space="preserve">
<value>Bold</value>
</data>
<data name="&gt;&gt;cbBold.Name" xml:space="preserve">
<value>cbBold</value>
</data>
@ -480,6 +549,9 @@
<data name="cbItalic.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="cbItalic.ToolTip" xml:space="preserve">
<value>Italic</value>
</data>
<data name="&gt;&gt;cbItalic.Name" xml:space="preserve">
<value>cbItalic</value>
</data>
@ -510,6 +582,9 @@
<data name="cbUnderline.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="cbUnderline.ToolTip" xml:space="preserve">
<value>Underline</value>
</data>
<data name="&gt;&gt;cbUnderline.Name" xml:space="preserve">
<value>cbUnderline</value>
</data>
@ -537,6 +612,9 @@
<data name="btnAlignmentHorizontal.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="btnAlignmentHorizontal.ToolTip" xml:space="preserve">
<value>Horizontal alignment</value>
</data>
<data name="&gt;&gt;btnAlignmentHorizontal.Name" xml:space="preserve">
<value>btnAlignmentHorizontal</value>
</data>
@ -564,6 +642,9 @@
<data name="btnAlignmentVertical.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
<data name="btnAlignmentVertical.ToolTip" xml:space="preserve">
<value>Vertical alignment</value>
</data>
<data name="&gt;&gt;btnAlignmentVertical.Name" xml:space="preserve">
<value>btnAlignmentVertical</value>
</data>
@ -576,30 +657,6 @@
<data name="&gt;&gt;btnAlignmentVertical.ZOrder" xml:space="preserve">
<value>10</value>
</data>
<data name="btnGradient.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="btnGradient.Location" type="System.Drawing.Point, System.Drawing">
<value>316, 3</value>
</data>
<data name="btnGradient.Size" type="System.Drawing.Size, System.Drawing">
<value>26, 24</value>
</data>
<data name="btnGradient.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="&gt;&gt;btnGradient.Name" xml:space="preserve">
<value>btnGradient</value>
</data>
<data name="&gt;&gt;btnGradient.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;btnGradient.Parent" xml:space="preserve">
<value>flpProperties</value>
</data>
<data name="&gt;&gt;btnGradient.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="btnOK.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
@ -753,17 +810,32 @@
<metadata name="cmsGradient.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>373, 17</value>
</metadata>
<data name="cmsGradient.Size" type="System.Drawing.Size, System.Drawing">
<value>175, 70</value>
</data>
<data name="&gt;&gt;cmsGradient.Name" xml:space="preserve">
<value>cmsGradient</value>
</data>
<data name="&gt;&gt;cmsGradient.Type" xml:space="preserve">
<value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="tsmiEnableGradient.Size" type="System.Drawing.Size, System.Drawing">
<value>180, 22</value>
<value>174, 22</value>
</data>
<data name="tsmiEnableGradient.Text" xml:space="preserve">
<value>Enable gradient</value>
</data>
<data name="tsmiSecondColor.Size" type="System.Drawing.Size, System.Drawing">
<value>180, 22</value>
<value>174, 22</value>
</data>
<data name="tsmiSecondColor.Text" xml:space="preserve">
<value>Second color...</value>
<value>Second text color...</value>
</data>
<data name="tsmiGradientMode.Size" type="System.Drawing.Size, System.Drawing">
<value>174, 22</value>
</data>
<data name="tsmiGradientMode.Text" xml:space="preserve">
<value>Gradient mode</value>
</data>
<data name="tsrbmiGradientHorizontal.Size" type="System.Drawing.Size, System.Drawing">
<value>180, 22</value>
@ -789,51 +861,9 @@
<data name="tsrbmiGradientBackwardDiagonal.Text" xml:space="preserve">
<value>Backward diagonal</value>
</data>
<data name="tsmiGradientMode.Size" type="System.Drawing.Size, System.Drawing">
<value>180, 22</value>
</data>
<data name="tsmiGradientMode.Text" xml:space="preserve">
<value>Gradient mode</value>
</data>
<data name="cmsGradient.Size" type="System.Drawing.Size, System.Drawing">
<value>181, 92</value>
</data>
<data name="&gt;&gt;cmsGradient.Name" xml:space="preserve">
<value>cmsGradient</value>
</data>
<data name="&gt;&gt;cmsGradient.Type" xml:space="preserve">
<value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="btnTextColor.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
<data name="btnTextColor.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="btnTextColor.Location" type="System.Drawing.Point, System.Drawing">
<value>286, 3</value>
</data>
<data name="btnTextColor.Size" type="System.Drawing.Size, System.Drawing">
<value>24, 24</value>
</data>
<data name="btnTextColor.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="btnTextColor.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleLeft</value>
</data>
<data name="&gt;&gt;btnTextColor.Name" xml:space="preserve">
<value>btnTextColor</value>
</data>
<data name="&gt;&gt;btnTextColor.Type" xml:space="preserve">
<value>ShareX.HelpersLib.ColorButton, ShareX.HelpersLib, Version=12.2.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;btnTextColor.Parent" xml:space="preserve">
<value>flpProperties</value>
</data>
<data name="&gt;&gt;btnTextColor.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<metadata name="ttTextInput.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>493, 17</value>
</metadata>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
@ -843,9 +873,6 @@
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>534, 361</value>
</data>
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterScreen</value>
</data>
@ -888,18 +915,18 @@
<data name="&gt;&gt;tsmiAlignmentBottom.Type" xml:space="preserve">
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tsmiSecondColor.Name" xml:space="preserve">
<value>tsmiSecondColor</value>
</data>
<data name="&gt;&gt;tsmiSecondColor.Type" xml:space="preserve">
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tsmiEnableGradient.Name" xml:space="preserve">
<value>tsmiEnableGradient</value>
</data>
<data name="&gt;&gt;tsmiEnableGradient.Type" xml:space="preserve">
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tsmiSecondColor.Name" xml:space="preserve">
<value>tsmiSecondColor</value>
</data>
<data name="&gt;&gt;tsmiSecondColor.Type" xml:space="preserve">
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tsmiGradientMode.Name" xml:space="preserve">
<value>tsmiGradientMode</value>
</data>
@ -930,6 +957,12 @@
<data name="&gt;&gt;tsrbmiGradientBackwardDiagonal.Type" xml:space="preserve">
<value>ShareX.HelpersLib.ToolStripRadioButtonMenuItem, ShareX.HelpersLib, Version=12.2.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;ttTextInput.Name" xml:space="preserve">
<value>ttTextInput</value>
</data>
<data name="&gt;&gt;ttTextInput.Type" xml:space="preserve">
<value>System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>TextDrawingInputBox</value>
</data>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

After

Width:  |  Height:  |  Size: 507 B