From f8a9d007fa7479350663ac3946dce0ced944028e Mon Sep 17 00:00:00 2001 From: Jaex Date: Thu, 29 Jul 2021 06:43:10 +0300 Subject: [PATCH] Use only icons in image history toolstrip --- .../Forms/ImageHistoryForm.Designer.cs | 5 ++--- ShareX.HistoryLib/Forms/ImageHistoryForm.resx | 14 +++++++------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/ShareX.HistoryLib/Forms/ImageHistoryForm.Designer.cs b/ShareX.HistoryLib/Forms/ImageHistoryForm.Designer.cs index 3bb91ff2b..172dc3fca 100644 --- a/ShareX.HistoryLib/Forms/ImageHistoryForm.Designer.cs +++ b/ShareX.HistoryLib/Forms/ImageHistoryForm.Designer.cs @@ -114,7 +114,6 @@ private void InitializeComponent() this.tss1, this.tsbSettings}); this.tsMain.Name = "tsMain"; - this.tsMain.ShowItemToolTips = false; // // tslSearch // @@ -143,7 +142,8 @@ private void InitializeComponent() // // tsbSettings // - this.tsbSettings.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.tsbSettings.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbSettings.Image = global::ShareX.HistoryLib.Properties.Resources.gear; resources.ApplyResources(this.tsbSettings, "tsbSettings"); this.tsbSettings.Name = "tsbSettings"; this.tsbSettings.Click += new System.EventHandler(this.tsbSettings_Click); @@ -151,7 +151,6 @@ private void InitializeComponent() // ImageHistoryForm // resources.ApplyResources(this, "$this"); - this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.BackColor = System.Drawing.SystemColors.Window; this.Controls.Add(this.tscMain); diff --git a/ShareX.HistoryLib/Forms/ImageHistoryForm.resx b/ShareX.HistoryLib/Forms/ImageHistoryForm.resx index 8d8d5f42e..9cbeca178 100644 --- a/ShareX.HistoryLib/Forms/ImageHistoryForm.resx +++ b/ShareX.HistoryLib/Forms/ImageHistoryForm.resx @@ -138,7 +138,7 @@ 0, 0 - 869, 636 + 884, 636 @@ -157,7 +157,7 @@ 0 - 869, 636 + 884, 636 tscMain.ContentPanel @@ -202,7 +202,7 @@ 2 - 869, 661 + 884, 661 0 @@ -244,7 +244,7 @@ Magenta - 62, 22 + 23, 22 Settings... @@ -253,7 +253,7 @@ 3, 0 - 441, 25 + 402, 25 0 @@ -298,10 +298,10 @@ True - 6, 13 + 96, 96 - 869, 661 + 884, 661 CenterScreen