From 5416e404fd8ebb59be5087c94ab7ae1dcd4b2a23 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Mon, 11 Jul 2022 18:04:16 +0200 Subject: [PATCH] Added another splitter container for the right side (top/down) --- .../UI WinForms/Components/Main.Designer.cs | 67 +++++++++++++------ 1 file changed, 46 insertions(+), 21 deletions(-) diff --git a/I18N Commander/UI WinForms/Components/Main.Designer.cs b/I18N Commander/UI WinForms/Components/Main.Designer.cs index 6e3aef1..44d557c 100644 --- a/I18N Commander/UI WinForms/Components/Main.Designer.cs +++ b/I18N Commander/UI WinForms/Components/Main.Designer.cs @@ -30,12 +30,16 @@ { this.tableLayout = new System.Windows.Forms.TableLayoutPanel(); this.flowLayoutBottom = new System.Windows.Forms.FlowLayoutPanel(); - this.splitContainer = new System.Windows.Forms.SplitContainer(); + this.splitContainerLR = new System.Windows.Forms.SplitContainer(); this.sectionTree = new UI_WinForms.Components.SectionTree(); + this.splitContainerRTB = new System.Windows.Forms.SplitContainer(); this.tableLayout.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); - this.splitContainer.Panel1.SuspendLayout(); - this.splitContainer.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerLR)).BeginInit(); + this.splitContainerLR.Panel1.SuspendLayout(); + this.splitContainerLR.Panel2.SuspendLayout(); + this.splitContainerLR.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerRTB)).BeginInit(); + this.splitContainerRTB.SuspendLayout(); this.SuspendLayout(); // // tableLayout @@ -44,7 +48,7 @@ this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayout.Controls.Add(this.flowLayoutBottom, 0, 1); - this.tableLayout.Controls.Add(this.splitContainer, 0, 0); + this.tableLayout.Controls.Add(this.splitContainerLR, 0, 0); this.tableLayout.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayout.Location = new System.Drawing.Point(0, 0); this.tableLayout.Name = "tableLayout"; @@ -63,21 +67,25 @@ this.flowLayoutBottom.Size = new System.Drawing.Size(965, 66); this.flowLayoutBottom.TabIndex = 0; // - // splitContainer + // splitContainerLR // - this.splitContainer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; - this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; - this.splitContainer.Location = new System.Drawing.Point(3, 3); - this.splitContainer.Name = "splitContainer"; + this.splitContainerLR.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.splitContainerLR.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainerLR.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; + this.splitContainerLR.Location = new System.Drawing.Point(3, 3); + this.splitContainerLR.Name = "splitContainerLR"; // - // splitContainer.Panel1 + // splitContainerLR.Panel1 // - this.splitContainer.Panel1.Controls.Add(this.sectionTree); - this.splitContainer.Panel1MinSize = 300; - this.splitContainer.Size = new System.Drawing.Size(959, 531); - this.splitContainer.SplitterDistance = 319; - this.splitContainer.TabIndex = 1; + this.splitContainerLR.Panel1.Controls.Add(this.sectionTree); + this.splitContainerLR.Panel1MinSize = 300; + // + // splitContainerLR.Panel2 + // + this.splitContainerLR.Panel2.Controls.Add(this.splitContainerRTB); + this.splitContainerLR.Size = new System.Drawing.Size(959, 531); + this.splitContainerLR.SplitterDistance = 319; + this.splitContainerLR.TabIndex = 1; // // sectionTree // @@ -88,6 +96,19 @@ this.sectionTree.Size = new System.Drawing.Size(317, 529); this.sectionTree.TabIndex = 0; // + // splitContainerRTB + // + this.splitContainerRTB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.splitContainerRTB.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainerRTB.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; + this.splitContainerRTB.Location = new System.Drawing.Point(0, 0); + this.splitContainerRTB.Name = "splitContainerRTB"; + this.splitContainerRTB.Orientation = System.Windows.Forms.Orientation.Horizontal; + this.splitContainerRTB.Panel1MinSize = 190; + this.splitContainerRTB.Size = new System.Drawing.Size(636, 531); + this.splitContainerRTB.SplitterDistance = 211; + this.splitContainerRTB.TabIndex = 0; + // // Main // this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F); @@ -97,9 +118,12 @@ this.Name = "Main"; this.Size = new System.Drawing.Size(965, 603); this.tableLayout.ResumeLayout(false); - this.splitContainer.Panel1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit(); - this.splitContainer.ResumeLayout(false); + this.splitContainerLR.Panel1.ResumeLayout(false); + this.splitContainerLR.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerLR)).EndInit(); + this.splitContainerLR.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerRTB)).EndInit(); + this.splitContainerRTB.ResumeLayout(false); this.ResumeLayout(false); } @@ -108,7 +132,8 @@ private TableLayoutPanel tableLayout; private FlowLayoutPanel flowLayoutBottom; - private SplitContainer splitContainer; + private SplitContainer splitContainerLR; + private SplitContainer splitContainerRTB; private SectionTree sectionTree; } }