From 14a1cf0715fb18691d864b55badea866b559bd82 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 18 Oct 2019 13:35:42 +0300 Subject: [PATCH] Changed toolbar close button size and location --- Crypto Notepad/MainForm.Designer.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Crypto Notepad/MainForm.Designer.cs b/Crypto Notepad/MainForm.Designer.cs index e304f9c..0623ab9 100644 --- a/Crypto Notepad/MainForm.Designer.cs +++ b/Crypto Notepad/MainForm.Designer.cs @@ -731,7 +731,7 @@ public void InitializeComponent() this.toolbarPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 24F)); this.toolbarPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 24F)); this.toolbarPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.toolbarPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 24F)); + this.toolbarPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 18F)); this.toolbarPanel.Controls.Add(this.closeToolbarButton, 13, 0); this.toolbarPanel.Controls.Add(this.lockToolbarButton, 9, 0); this.toolbarPanel.Controls.Add(this.newToolbarButton, 0, 0); @@ -762,9 +762,9 @@ public void InitializeComponent() this.closeToolbarButton.Dock = System.Windows.Forms.DockStyle.Fill; this.closeToolbarButton.Font = new System.Drawing.Font("Segoe UI Black", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.closeToolbarButton.ForeColor = System.Drawing.Color.DarkGray; - this.closeToolbarButton.Location = new System.Drawing.Point(463, 0); + this.closeToolbarButton.Location = new System.Drawing.Point(469, 0); this.closeToolbarButton.Name = "closeToolbarButton"; - this.closeToolbarButton.Size = new System.Drawing.Size(18, 24); + this.closeToolbarButton.Size = new System.Drawing.Size(12, 24); this.closeToolbarButton.TabIndex = 17; this.closeToolbarButton.Text = "X"; this.closeToolbarButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;