From 6c97aa32d153865e46b9c4bfbdb3c49153f4c903 Mon Sep 17 00:00:00 2001 From: Anton Mukhin Date: Fri, 23 May 2025 16:41:38 +0300 Subject: [PATCH] Little Form designes changes --- McBitFont/About.Designer.cs | 29 ++++++----------------------- McBitFont/ImageImporter.Designer.cs | 6 +++--- McBitFont/ImageImporter.cs | 2 +- 3 files changed, 10 insertions(+), 27 deletions(-) diff --git a/McBitFont/About.Designer.cs b/McBitFont/About.Designer.cs index 9c4a9ea..e7fe392 100644 --- a/McBitFont/About.Designer.cs +++ b/McBitFont/About.Designer.cs @@ -30,14 +30,13 @@ pictureBox1 = new System.Windows.Forms.PictureBox(); linkLabel1 = new System.Windows.Forms.LinkLabel(); button1 = new System.Windows.Forms.Button(); - linkLabel2 = new System.Windows.Forms.LinkLabel(); ((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit(); SuspendLayout(); // // lblVersion // lblVersion.AutoSize = true; - lblVersion.Location = new System.Drawing.Point(14, 218); + lblVersion.Location = new System.Drawing.Point(14, 210); lblVersion.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); lblVersion.Name = "lblVersion"; lblVersion.Size = new System.Drawing.Size(66, 15); @@ -59,7 +58,7 @@ // label2 // label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204); - label2.Location = new System.Drawing.Point(0, 111); + label2.Location = new System.Drawing.Point(0, 118); label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label2.Name = "label2"; label2.Size = new System.Drawing.Size(448, 29); @@ -84,7 +83,7 @@ linkLabel1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 204); linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; - linkLabel1.Location = new System.Drawing.Point(0, 140); + linkLabel1.Location = new System.Drawing.Point(0, 155); linkLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); linkLabel1.Name = "linkLabel1"; linkLabel1.Size = new System.Drawing.Size(448, 24); @@ -98,7 +97,7 @@ // button1.DialogResult = System.Windows.Forms.DialogResult.OK; button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204); - button1.Location = new System.Drawing.Point(170, 202); + button1.Location = new System.Drawing.Point(170, 194); button1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); button1.Name = "button1"; button1.Size = new System.Drawing.Size(104, 31); @@ -106,27 +105,12 @@ button1.Text = "OK"; button1.UseVisualStyleBackColor = true; // - // linkLabel2 - // - linkLabel2.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; - linkLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 204); - linkLabel2.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; - linkLabel2.Location = new System.Drawing.Point(0, 164); - linkLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - linkLabel2.Name = "linkLabel2"; - linkLabel2.Size = new System.Drawing.Size(448, 24); - linkLabel2.TabIndex = 6; - linkLabel2.TabStop = true; - linkLabel2.Text = "https://gitea.mcflyer.ru/McFLY/McBitFont"; - linkLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // // About // AcceptButton = button1; AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - ClientSize = new System.Drawing.Size(448, 243); - Controls.Add(linkLabel2); + ClientSize = new System.Drawing.Size(448, 236); Controls.Add(button1); Controls.Add(linkLabel1); Controls.Add(pictureBox1); @@ -141,7 +125,7 @@ Name = "About"; ShowInTaskbar = false; StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - Text = "About"; + Text = "About McBitFont"; Load += About_Load; ((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit(); ResumeLayout(false); @@ -157,6 +141,5 @@ private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.LinkLabel linkLabel1; private System.Windows.Forms.Button button1; - private System.Windows.Forms.LinkLabel linkLabel2; } } \ No newline at end of file diff --git a/McBitFont/ImageImporter.Designer.cs b/McBitFont/ImageImporter.Designer.cs index 17477ed..d27cd77 100644 --- a/McBitFont/ImageImporter.Designer.cs +++ b/McBitFont/ImageImporter.Designer.cs @@ -285,11 +285,11 @@ // // lblTransparency // - lblTransparency.Location = new System.Drawing.Point(457, 323); + lblTransparency.Location = new System.Drawing.Point(438, 323); lblTransparency.Name = "lblTransparency"; - lblTransparency.Size = new System.Drawing.Size(144, 15); + lblTransparency.Size = new System.Drawing.Size(184, 15); lblTransparency.TabIndex = 22; - lblTransparency.Text = "Transp. threshold: 32"; + lblTransparency.Text = "Transparency threshold: 32"; lblTransparency.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tbTransparency diff --git a/McBitFont/ImageImporter.cs b/McBitFont/ImageImporter.cs index 3e0adfc..527cca4 100644 --- a/McBitFont/ImageImporter.cs +++ b/McBitFont/ImageImporter.cs @@ -218,7 +218,7 @@ namespace McBitFont { } private void tbTransparency_ValueChanged(object sender, EventArgs e) { - lblTransparency.Text = "Transp. threshold: " + tbTransparency.Value.ToString(); + lblTransparency.Text = "Transparency threshold: " + tbTransparency.Value.ToString(); } private void tbTransparency_KeyDown(object sender, KeyEventArgs e) {