调整布局

This commit is contained in:
ww-rm
2025-03-24 13:48:05 +08:00
parent a16f2f096d
commit 51cd97f782
2 changed files with 27 additions and 27 deletions

View File

@@ -50,7 +50,7 @@
panel.Location = new Point(0, 0); panel.Location = new Point(0, 0);
panel.Name = "panel"; panel.Name = "panel";
panel.Padding = new Padding(50, 15, 50, 10); panel.Padding = new Padding(50, 15, 50, 10);
panel.Size = new Size(1033, 453); panel.Size = new Size(1042, 472);
panel.TabIndex = 1; panel.TabIndex = 1;
// //
// tableLayoutPanel1 // tableLayoutPanel1
@@ -62,17 +62,16 @@
tableLayoutPanel1.Controls.Add(label3, 0, 2); tableLayoutPanel1.Controls.Add(label3, 0, 2);
tableLayoutPanel1.Controls.Add(comboBox_Version, 1, 2); tableLayoutPanel1.Controls.Add(comboBox_Version, 1, 2);
tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 3); tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 3);
tableLayoutPanel1.Controls.Add(skelFileListBox, 1, 1); tableLayoutPanel1.Controls.Add(skelFileListBox, 0, 1);
tableLayoutPanel1.Dock = DockStyle.Fill; tableLayoutPanel1.Dock = DockStyle.Fill;
tableLayoutPanel1.Location = new Point(50, 15); tableLayoutPanel1.Location = new Point(50, 15);
tableLayoutPanel1.Name = "tableLayoutPanel1"; tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 4; tableLayoutPanel1.RowCount = 3;
tableLayoutPanel1.RowStyles.Add(new RowStyle());
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle());
tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle());
tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.Size = new Size(942, 447);
tableLayoutPanel1.RowStyles.Add(new RowStyle());
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
tableLayoutPanel1.Size = new Size(933, 428);
tableLayoutPanel1.TabIndex = 1; tableLayoutPanel1.TabIndex = 1;
// //
// label4 // label4
@@ -83,7 +82,7 @@
label4.Location = new Point(15, 15); label4.Location = new Point(15, 15);
label4.Margin = new Padding(15); label4.Margin = new Padding(15);
label4.Name = "label4"; label4.Name = "label4";
label4.Size = new Size(903, 24); label4.Size = new Size(912, 24);
label4.TabIndex = 14; label4.TabIndex = 14;
label4.Text = "说明批量导入只需要选择skel文件atlas文件需要在同目录下并且与skel文件名相同"; label4.Text = "说明批量导入只需要选择skel文件atlas文件需要在同目录下并且与skel文件名相同";
label4.TextAlign = ContentAlignment.MiddleCenter; label4.TextAlign = ContentAlignment.MiddleCenter;
@@ -92,7 +91,7 @@
// //
label3.Anchor = AnchorStyles.Right; label3.Anchor = AnchorStyles.Right;
label3.AutoSize = true; label3.AutoSize = true;
label3.Location = new Point(3, 317); label3.Location = new Point(3, 343);
label3.Name = "label3"; label3.Name = "label3";
label3.Size = new Size(50, 24); label3.Size = new Size(50, 24);
label3.TabIndex = 12; label3.TabIndex = 12;
@@ -103,7 +102,7 @@
comboBox_Version.Anchor = AnchorStyles.Left; comboBox_Version.Anchor = AnchorStyles.Left;
comboBox_Version.DropDownStyle = ComboBoxStyle.DropDownList; comboBox_Version.DropDownStyle = ComboBoxStyle.DropDownList;
comboBox_Version.FormattingEnabled = true; comboBox_Version.FormattingEnabled = true;
comboBox_Version.Location = new Point(59, 313); comboBox_Version.Location = new Point(59, 339);
comboBox_Version.Name = "comboBox_Version"; comboBox_Version.Name = "comboBox_Version";
comboBox_Version.Size = new Size(182, 32); comboBox_Version.Size = new Size(182, 32);
comboBox_Version.Sorted = true; comboBox_Version.Sorted = true;
@@ -119,18 +118,19 @@
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
tableLayoutPanel2.Controls.Add(button_Ok, 0, 0); tableLayoutPanel2.Controls.Add(button_Ok, 0, 0);
tableLayoutPanel2.Controls.Add(button_Cancel, 1, 0); tableLayoutPanel2.Controls.Add(button_Cancel, 1, 0);
tableLayoutPanel2.Dock = DockStyle.Bottom; tableLayoutPanel2.Dock = DockStyle.Fill;
tableLayoutPanel2.Location = new Point(3, 385); tableLayoutPanel2.Location = new Point(3, 404);
tableLayoutPanel2.Margin = new Padding(3, 30, 3, 3);
tableLayoutPanel2.Name = "tableLayoutPanel2"; tableLayoutPanel2.Name = "tableLayoutPanel2";
tableLayoutPanel2.RowCount = 1; tableLayoutPanel2.RowCount = 1;
tableLayoutPanel2.RowStyles.Add(new RowStyle()); tableLayoutPanel2.RowStyles.Add(new RowStyle());
tableLayoutPanel2.Size = new Size(927, 40); tableLayoutPanel2.Size = new Size(936, 40);
tableLayoutPanel2.TabIndex = 11; tableLayoutPanel2.TabIndex = 11;
// //
// button_Ok // button_Ok
// //
button_Ok.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; button_Ok.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
button_Ok.Location = new Point(321, 3); button_Ok.Location = new Point(326, 3);
button_Ok.Margin = new Padding(3, 3, 30, 3); button_Ok.Margin = new Padding(3, 3, 30, 3);
button_Ok.Name = "button_Ok"; button_Ok.Name = "button_Ok";
button_Ok.Size = new Size(112, 34); button_Ok.Size = new Size(112, 34);
@@ -142,7 +142,7 @@
// button_Cancel // button_Cancel
// //
button_Cancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; button_Cancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
button_Cancel.Location = new Point(493, 3); button_Cancel.Location = new Point(498, 3);
button_Cancel.Margin = new Padding(30, 3, 3, 3); button_Cancel.Margin = new Padding(30, 3, 3, 3);
button_Cancel.Name = "button_Cancel"; button_Cancel.Name = "button_Cancel";
button_Cancel.Size = new Size(112, 34); button_Cancel.Size = new Size(112, 34);
@@ -157,7 +157,7 @@
skelFileListBox.Dock = DockStyle.Fill; skelFileListBox.Dock = DockStyle.Fill;
skelFileListBox.Location = new Point(3, 57); skelFileListBox.Location = new Point(3, 57);
skelFileListBox.Name = "skelFileListBox"; skelFileListBox.Name = "skelFileListBox";
skelFileListBox.Size = new Size(927, 250); skelFileListBox.Size = new Size(936, 276);
skelFileListBox.TabIndex = 15; skelFileListBox.TabIndex = 15;
// //
// BatchOpenSpineDialog // BatchOpenSpineDialog
@@ -166,7 +166,7 @@
AutoScaleDimensions = new SizeF(11F, 24F); AutoScaleDimensions = new SizeF(11F, 24F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
CancelButton = button_Cancel; CancelButton = button_Cancel;
ClientSize = new Size(1033, 453); ClientSize = new Size(1042, 472);
Controls.Add(panel); Controls.Add(panel);
FormBorderStyle = FormBorderStyle.FixedDialog; FormBorderStyle = FormBorderStyle.FixedDialog;
Icon = (Icon)resources.GetObject("$this.Icon"); Icon = (Icon)resources.GetObject("$this.Icon");

View File

@@ -80,12 +80,11 @@
tableLayoutPanel1.Name = "tableLayoutPanel1"; tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 6; tableLayoutPanel1.RowCount = 6;
tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle());
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle());
tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle());
tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle());
tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle());
tableLayoutPanel1.RowStyles.Add(new RowStyle());
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
tableLayoutPanel1.Size = new Size(951, 513); tableLayoutPanel1.Size = new Size(951, 513);
tableLayoutPanel1.TabIndex = 1; tableLayoutPanel1.TabIndex = 1;
// //
@@ -94,7 +93,7 @@
comboBox_TargetVersion.Anchor = AnchorStyles.Left; comboBox_TargetVersion.Anchor = AnchorStyles.Left;
comboBox_TargetVersion.DropDownStyle = ComboBoxStyle.DropDownList; comboBox_TargetVersion.DropDownStyle = ComboBoxStyle.DropDownList;
comboBox_TargetVersion.FormattingEnabled = true; comboBox_TargetVersion.FormattingEnabled = true;
comboBox_TargetVersion.Location = new Point(95, 356); comboBox_TargetVersion.Location = new Point(95, 365);
comboBox_TargetVersion.Name = "comboBox_TargetVersion"; comboBox_TargetVersion.Name = "comboBox_TargetVersion";
comboBox_TargetVersion.Size = new Size(182, 32); comboBox_TargetVersion.Size = new Size(182, 32);
comboBox_TargetVersion.Sorted = true; comboBox_TargetVersion.Sorted = true;
@@ -106,7 +105,7 @@
flowLayoutPanel_TargetFormat.Controls.Add(radioButton_BinaryTarget); flowLayoutPanel_TargetFormat.Controls.Add(radioButton_BinaryTarget);
flowLayoutPanel_TargetFormat.Controls.Add(radioButton_JsonTarget); flowLayoutPanel_TargetFormat.Controls.Add(radioButton_JsonTarget);
flowLayoutPanel_TargetFormat.Dock = DockStyle.Fill; flowLayoutPanel_TargetFormat.Dock = DockStyle.Fill;
flowLayoutPanel_TargetFormat.Location = new Point(95, 394); flowLayoutPanel_TargetFormat.Location = new Point(95, 403);
flowLayoutPanel_TargetFormat.Name = "flowLayoutPanel_TargetFormat"; flowLayoutPanel_TargetFormat.Name = "flowLayoutPanel_TargetFormat";
flowLayoutPanel_TargetFormat.Size = new Size(853, 34); flowLayoutPanel_TargetFormat.Size = new Size(853, 34);
flowLayoutPanel_TargetFormat.TabIndex = 19; flowLayoutPanel_TargetFormat.TabIndex = 19;
@@ -137,7 +136,7 @@
// //
label1.Anchor = AnchorStyles.Right; label1.Anchor = AnchorStyles.Right;
label1.AutoSize = true; label1.AutoSize = true;
label1.Location = new Point(3, 360); label1.Location = new Point(3, 369);
label1.Name = "label1"; label1.Name = "label1";
label1.Size = new Size(86, 24); label1.Size = new Size(86, 24);
label1.TabIndex = 15; label1.TabIndex = 15;
@@ -160,7 +159,7 @@
// //
label3.Anchor = AnchorStyles.Right; label3.Anchor = AnchorStyles.Right;
label3.AutoSize = true; label3.AutoSize = true;
label3.Location = new Point(21, 322); label3.Location = new Point(21, 331);
label3.Name = "label3"; label3.Name = "label3";
label3.Size = new Size(68, 24); label3.Size = new Size(68, 24);
label3.TabIndex = 12; label3.TabIndex = 12;
@@ -171,7 +170,7 @@
comboBox_SourceVersion.Anchor = AnchorStyles.Left; comboBox_SourceVersion.Anchor = AnchorStyles.Left;
comboBox_SourceVersion.DropDownStyle = ComboBoxStyle.DropDownList; comboBox_SourceVersion.DropDownStyle = ComboBoxStyle.DropDownList;
comboBox_SourceVersion.FormattingEnabled = true; comboBox_SourceVersion.FormattingEnabled = true;
comboBox_SourceVersion.Location = new Point(95, 318); comboBox_SourceVersion.Location = new Point(95, 327);
comboBox_SourceVersion.Name = "comboBox_SourceVersion"; comboBox_SourceVersion.Name = "comboBox_SourceVersion";
comboBox_SourceVersion.Size = new Size(182, 32); comboBox_SourceVersion.Size = new Size(182, 32);
comboBox_SourceVersion.Sorted = true; comboBox_SourceVersion.Sorted = true;
@@ -187,8 +186,9 @@
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
tableLayoutPanel2.Controls.Add(button_Ok, 0, 0); tableLayoutPanel2.Controls.Add(button_Ok, 0, 0);
tableLayoutPanel2.Controls.Add(button_Cancel, 1, 0); tableLayoutPanel2.Controls.Add(button_Cancel, 1, 0);
tableLayoutPanel2.Dock = DockStyle.Bottom; tableLayoutPanel2.Dock = DockStyle.Fill;
tableLayoutPanel2.Location = new Point(3, 470); tableLayoutPanel2.Location = new Point(3, 470);
tableLayoutPanel2.Margin = new Padding(3, 30, 3, 3);
tableLayoutPanel2.Name = "tableLayoutPanel2"; tableLayoutPanel2.Name = "tableLayoutPanel2";
tableLayoutPanel2.RowCount = 1; tableLayoutPanel2.RowCount = 1;
tableLayoutPanel2.RowStyles.Add(new RowStyle()); tableLayoutPanel2.RowStyles.Add(new RowStyle());
@@ -223,7 +223,7 @@
// //
label2.Anchor = AnchorStyles.Right; label2.Anchor = AnchorStyles.Right;
label2.AutoSize = true; label2.AutoSize = true;
label2.Location = new Point(3, 399); label2.Location = new Point(3, 408);
label2.Name = "label2"; label2.Name = "label2";
label2.Size = new Size(86, 24); label2.Size = new Size(86, 24);
label2.TabIndex = 16; label2.TabIndex = 16;
@@ -235,7 +235,7 @@
skelFileListBox.Dock = DockStyle.Fill; skelFileListBox.Dock = DockStyle.Fill;
skelFileListBox.Location = new Point(3, 57); skelFileListBox.Location = new Point(3, 57);
skelFileListBox.Name = "skelFileListBox"; skelFileListBox.Name = "skelFileListBox";
skelFileListBox.Size = new Size(945, 255); skelFileListBox.Size = new Size(945, 264);
skelFileListBox.TabIndex = 20; skelFileListBox.TabIndex = 20;
// //
// openFileDialog_Skel // openFileDialog_Skel