diff --git a/CodeLegacy/Forms/MessageForm.Designer.cs b/CodeLegacy/Forms/MessageForm.Designer.cs index 67e21b3..529a74f 100644 --- a/CodeLegacy/Forms/MessageForm.Designer.cs +++ b/CodeLegacy/Forms/MessageForm.Designer.cs @@ -36,6 +36,8 @@ // // textLabel // + this.textLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.textLabel.AutoSize = true; this.textLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textLabel.ForeColor = System.Drawing.Color.White; diff --git a/CodeLegacy/Forms/MessageForm.cs b/CodeLegacy/Forms/MessageForm.cs index ea497cf..ccf5c26 100644 --- a/CodeLegacy/Forms/MessageForm.cs +++ b/CodeLegacy/Forms/MessageForm.cs @@ -83,7 +83,8 @@ namespace Flowframes.Forms Size labelSize = GetLabelSize(textLabel); Size = new Size((labelSize.Width + 60).Clamp(360, Program.mainForm.Size.Width), (labelSize.Height + 120).Clamp(200, Program.mainForm.Size.Height)); - + textLabel.AutoSize = false; + textLabel.Size = new Size(Size.Width - 42, Size.Height - 100); CenterToScreen(); }