5x4 => 10x4

This commit is contained in:
Kurt 2020-03-28 14:44:03 -07:00
parent 314ce165a6
commit f860b67653
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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;