diff --git a/mRemoteNG/UI/Forms/FrmInputBox.Designer.cs b/mRemoteNG/UI/Forms/FrmInputBox.Designer.cs index b5717b25..96eb4aff 100644 --- a/mRemoteNG/UI/Forms/FrmInputBox.Designer.cs +++ b/mRemoteNG/UI/Forms/FrmInputBox.Designer.cs @@ -44,6 +44,8 @@ namespace mRemoteNG.UI.Forms this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.AutoSize = true; + this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.tableLayoutPanel1.Controls.Add(this._Ok, 1, 2); this.tableLayoutPanel1.Controls.Add(this.buttonCancel, 2, 2); this.tableLayoutPanel1.Controls.Add(this.textBox, 0, 1); @@ -51,11 +53,12 @@ namespace mRemoteNG.UI.Forms this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(8); this.tableLayoutPanel1.RowCount = 3; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(284, 81); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.AutoSize)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(284, 90); this.tableLayoutPanel1.TabIndex = 0; // // _Ok @@ -103,12 +106,14 @@ namespace mRemoteNG.UI.Forms this.label.TabIndex = 3; this.label.Text = "Label"; this.label.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // + // // FrmInputBox - // + // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.ClientSize = new System.Drawing.Size(284, 81); + this.AutoSize = true; + this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.ClientSize = new System.Drawing.Size(300, 95); this.ControlBox = false; this.Controls.Add(this.tableLayoutPanel1); this.DoubleBuffered = true; @@ -116,6 +121,7 @@ namespace mRemoteNG.UI.Forms this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; + this.MinimumSize = new System.Drawing.Size(300, 95); this.Name = "FrmInputBox"; this.ShowIcon = false; this.ShowInTaskbar = false;