diff --git a/CodeLegacy/Forms/DebugForm.Designer.cs b/CodeLegacy/Forms/DebugForm.Designer.cs index fef6637..4ebb9a4 100644 --- a/CodeLegacy/Forms/DebugForm.Designer.cs +++ b/CodeLegacy/Forms/DebugForm.Designer.cs @@ -95,7 +95,7 @@ namespace Flowframes.Forms this.label1.ForeColor = System.Drawing.SystemColors.Control; this.label1.Location = new System.Drawing.Point(3, 3); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(416, 60); + this.label1.Size = new System.Drawing.Size(415, 60); this.label1.TabIndex = 0; this.label1.Text = resources.GetString("label1.Text"); // @@ -107,16 +107,13 @@ namespace Flowframes.Forms this.panel1.Controls.Add(this.configDataGrid); this.panel1.Location = new System.Drawing.Point(6, 80); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(180, 0); + this.panel1.Size = new System.Drawing.Size(900, 310); this.panel1.TabIndex = 4; // // configDataGrid // this.configDataGrid.AllowUserToResizeColumns = false; this.configDataGrid.AllowUserToResizeRows = false; - this.configDataGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); this.configDataGrid.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.configDataGrid.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; this.configDataGrid.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText; @@ -124,7 +121,7 @@ namespace Flowframes.Forms this.configDataGrid.Location = new System.Drawing.Point(0, 0); this.configDataGrid.MultiSelect = false; this.configDataGrid.Name = "configDataGrid"; - this.configDataGrid.Size = new System.Drawing.Size(180, 0); + this.configDataGrid.Size = new System.Drawing.Size(900, 310); this.configDataGrid.TabIndex = 0; this.configDataGrid.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.configDataGrid_CellValueChanged); this.configDataGrid.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.configDataGrid_RowsAdded); diff --git a/CodeLegacy/Forms/DebugForm.cs b/CodeLegacy/Forms/DebugForm.cs index 404a3c2..b31219a 100644 --- a/CodeLegacy/Forms/DebugForm.cs +++ b/CodeLegacy/Forms/DebugForm.cs @@ -17,8 +17,9 @@ namespace Flowframes.Forms InitializeComponent(); int smallestWidth = Screen.AllScreens.Min(s => s.WorkingArea.Width); + int smallestHeight = Screen.AllScreens.Min(s => s.WorkingArea.Height); Width = Math.Min((Program.mainForm.Width * 1.25f).RoundToInt(), smallestWidth - 80); - Height = Program.mainForm.Height; + Height = Math.Min((Program.mainForm.Height * 1.2f).RoundToInt(), smallestHeight - 80); } private void DebugForm_Shown(object sender, EventArgs e) diff --git a/CodeLegacy/Forms/DebugForm.resx b/CodeLegacy/Forms/DebugForm.resx index 21b4ef7..14d9b8d 100644 --- a/CodeLegacy/Forms/DebugForm.resx +++ b/CodeLegacy/Forms/DebugForm.resx @@ -126,6 +126,9 @@ To delete an entry, select the line by clicking on the left part, then press DEL 17, 17 + + 17, 17 +