From f860b676530ce6bfdfabaf21919a5aad8a57c08b Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 28 Mar 2020 14:44:03 -0700 Subject: [PATCH] 5x4 => 10x4 --- NHSE.WinForms/Subforms/PlayerItemEditor.Designer.cs | 10 +++++----- NHSE.WinForms/Subforms/PlayerItemEditor.cs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/NHSE.WinForms/Subforms/PlayerItemEditor.Designer.cs b/NHSE.WinForms/Subforms/PlayerItemEditor.Designer.cs index a031329..5e9d8ed 100644 --- a/NHSE.WinForms/Subforms/PlayerItemEditor.Designer.cs +++ b/NHSE.WinForms/Subforms/PlayerItemEditor.Designer.cs @@ -37,7 +37,7 @@ private void InitializeComponent() // B_Cancel // this.B_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.B_Cancel.Location = new System.Drawing.Point(258, 228); + this.B_Cancel.Location = new System.Drawing.Point(422, 228); this.B_Cancel.Name = "B_Cancel"; this.B_Cancel.Size = new System.Drawing.Size(72, 23); this.B_Cancel.TabIndex = 5; @@ -48,7 +48,7 @@ private void InitializeComponent() // B_Save // this.B_Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.B_Save.Location = new System.Drawing.Point(336, 228); + this.B_Save.Location = new System.Drawing.Point(500, 228); this.B_Save.Name = "B_Save"; this.B_Save.Size = new System.Drawing.Size(72, 23); this.B_Save.TabIndex = 4; @@ -65,7 +65,7 @@ private void InitializeComponent() this.TC_Groups.Name = "TC_Groups"; this.TC_Groups.Padding = new System.Drawing.Point(9, 9); this.TC_Groups.SelectedIndex = 0; - this.TC_Groups.Size = new System.Drawing.Size(247, 213); + this.TC_Groups.Size = new System.Drawing.Size(411, 213); this.TC_Groups.TabIndex = 3; // // ItemEditor @@ -73,7 +73,7 @@ private void InitializeComponent() this.ItemEditor.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.ItemEditor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ItemEditor.Location = new System.Drawing.Point(258, 12); + this.ItemEditor.Location = new System.Drawing.Point(422, 12); this.ItemEditor.Name = "ItemEditor"; this.ItemEditor.Size = new System.Drawing.Size(150, 210); this.ItemEditor.TabIndex = 6; @@ -82,7 +82,7 @@ private void InitializeComponent() // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(420, 261); + this.ClientSize = new System.Drawing.Size(584, 261); this.Controls.Add(this.ItemEditor); this.Controls.Add(this.B_Cancel); this.Controls.Add(this.B_Save); diff --git a/NHSE.WinForms/Subforms/PlayerItemEditor.cs b/NHSE.WinForms/Subforms/PlayerItemEditor.cs index 9a335f8..d0f0cbf 100644 --- a/NHSE.WinForms/Subforms/PlayerItemEditor.cs +++ b/NHSE.WinForms/Subforms/PlayerItemEditor.cs @@ -43,7 +43,7 @@ private void CreateTabs() { var tab = new TabPage { Name = $"Tab_{p.Type}", Text = p.Type.ToString() }; var grid = new ItemGridEditor(ItemEditor, p.Items, i) { Dock = DockStyle.Fill }; - grid.InitializeGrid(5, 4); + grid.InitializeGrid(10, 4); tab.Controls.Add(grid); TC_Groups.TabPages.Add(tab); TC_Groups.ShowToolTips = true;