From ef710a84b902d1d74b7b0b56393a56d1a684e3be Mon Sep 17 00:00:00 2001 From: goyuken Date: Sun, 16 Sep 2012 17:24:48 +0000 Subject: [PATCH] fix up metrics on a few of my crappy winforms --- .../AVOut/FFmpegWriterForm.Designer.cs | 12 + BizHawk.MultiClient/AVOut/JMDForm.Designer.cs | 264 +++++++++--------- .../AVOut/VideoWriterChooserForm.Designer.cs | 23 +- .../GBtools/ColorChooserForm.Designer.cs | 1 + 4 files changed, 162 insertions(+), 138 deletions(-) diff --git a/BizHawk.MultiClient/AVOut/FFmpegWriterForm.Designer.cs b/BizHawk.MultiClient/AVOut/FFmpegWriterForm.Designer.cs index 643c4bc93b..73ebd175a4 100644 --- a/BizHawk.MultiClient/AVOut/FFmpegWriterForm.Designer.cs +++ b/BizHawk.MultiClient/AVOut/FFmpegWriterForm.Designer.cs @@ -50,6 +50,9 @@ // // listBox1 // + this.listBox1.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.listBox1.FormattingEnabled = true; this.listBox1.Location = new System.Drawing.Point(5, 23); this.listBox1.Name = "listBox1"; @@ -59,6 +62,7 @@ // // label2 // + this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(7, 176); this.label2.Name = "label2"; @@ -68,6 +72,7 @@ // // label3 // + this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(6, 193); this.label3.MaximumSize = new System.Drawing.Size(260, 0); @@ -77,6 +82,7 @@ // // label4 // + this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(10, 255); this.label4.Name = "label4"; @@ -86,6 +92,8 @@ // // textBox1 // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.textBox1.Location = new System.Drawing.Point(8, 273); this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; @@ -94,6 +102,7 @@ // // button1 // + this.button1.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.button1.DialogResult = System.Windows.Forms.DialogResult.OK; this.button1.Location = new System.Drawing.Point(65, 314); this.button1.Name = "button1"; @@ -104,6 +113,7 @@ // // button2 // + this.button2.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.button2.Location = new System.Drawing.Point(146, 314); this.button2.Name = "button2"; @@ -114,6 +124,7 @@ // // label5 // + this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(159, 176); this.label5.Name = "label5"; @@ -137,6 +148,7 @@ this.Controls.Add(this.label2); this.Controls.Add(this.listBox1); this.Controls.Add(this.label1); + this.MinimumSize = new System.Drawing.Size(300, 360); this.Name = "FFmpegWriterForm"; this.Text = "Choose Video Format"; this.ResumeLayout(false); diff --git a/BizHawk.MultiClient/AVOut/JMDForm.Designer.cs b/BizHawk.MultiClient/AVOut/JMDForm.Designer.cs index 1220292a8a..c77571916e 100644 --- a/BizHawk.MultiClient/AVOut/JMDForm.Designer.cs +++ b/BizHawk.MultiClient/AVOut/JMDForm.Designer.cs @@ -28,137 +28,139 @@ /// private void InitializeComponent() { - this.okButton = new System.Windows.Forms.Button(); - this.threadsBar = new System.Windows.Forms.TrackBar(); - this.compressionBar = new System.Windows.Forms.TrackBar(); - this.threadLeft = new System.Windows.Forms.Label(); - this.threadRight = new System.Windows.Forms.Label(); - this.compressionLeft = new System.Windows.Forms.Label(); - this.compressionRight = new System.Windows.Forms.Label(); - this.threadTop = new System.Windows.Forms.Label(); - this.compressionTop = new System.Windows.Forms.Label(); - this.cancelButton = new System.Windows.Forms.Button(); - ((System.ComponentModel.ISupportInitialize)(this.threadsBar)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.compressionBar)).BeginInit(); - this.SuspendLayout(); - // - // okButton - // - this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; - this.okButton.Location = new System.Drawing.Point(23, 224); - this.okButton.Name = "okButton"; - this.okButton.Size = new System.Drawing.Size(117, 30); - this.okButton.TabIndex = 0; - this.okButton.Text = "OK"; - this.okButton.UseVisualStyleBackColor = true; - this.okButton.Click += new System.EventHandler(this.okButton_Click); - // - // threadsBar - // - this.threadsBar.Location = new System.Drawing.Point(88, 68); - this.threadsBar.Name = "threadsBar"; - this.threadsBar.Size = new System.Drawing.Size(104, 42); - this.threadsBar.TabIndex = 5; - this.threadsBar.Scroll += new System.EventHandler(this.threadsBar_Scroll); - // - // compressionBar - // - this.compressionBar.Location = new System.Drawing.Point(88, 138); - this.compressionBar.Name = "compressionBar"; - this.compressionBar.Size = new System.Drawing.Size(104, 42); - this.compressionBar.TabIndex = 9; - this.compressionBar.Scroll += new System.EventHandler(this.compressionBar_Scroll); - // - // threadLeft - // - this.threadLeft.AutoSize = true; - this.threadLeft.Location = new System.Drawing.Point(47, 68); - this.threadLeft.Name = "threadLeft"; - this.threadLeft.Size = new System.Drawing.Size(35, 13); - this.threadLeft.TabIndex = 2; - this.threadLeft.Text = "label1"; - // - // threadRight - // - this.threadRight.AutoSize = true; - this.threadRight.Location = new System.Drawing.Point(198, 68); - this.threadRight.Name = "threadRight"; - this.threadRight.Size = new System.Drawing.Size(35, 13); - this.threadRight.TabIndex = 4; - this.threadRight.Text = "label2"; - // - // compressionLeft - // - this.compressionLeft.AutoSize = true; - this.compressionLeft.Location = new System.Drawing.Point(47, 148); - this.compressionLeft.Name = "compressionLeft"; - this.compressionLeft.Size = new System.Drawing.Size(35, 13); - this.compressionLeft.TabIndex = 6; - this.compressionLeft.Text = "label3"; - // - // compressionRight - // - this.compressionRight.AutoSize = true; - this.compressionRight.Location = new System.Drawing.Point(198, 148); - this.compressionRight.Name = "compressionRight"; - this.compressionRight.Size = new System.Drawing.Size(35, 13); - this.compressionRight.TabIndex = 8; - this.compressionRight.Text = "label4"; - // - // threadTop - // - this.threadTop.AutoSize = true; - this.threadTop.Location = new System.Drawing.Point(94, 52); - this.threadTop.Name = "threadTop"; - this.threadTop.Size = new System.Drawing.Size(98, 13); - this.threadTop.TabIndex = 3; - this.threadTop.Text = "Number of Threads"; - this.threadTop.TextAlign = System.Drawing.ContentAlignment.TopCenter; - // - // compressionTop - // - this.compressionTop.AutoSize = true; - this.compressionTop.Location = new System.Drawing.Point(96, 122); - this.compressionTop.Name = "compressionTop"; - this.compressionTop.Size = new System.Drawing.Size(96, 13); - this.compressionTop.TabIndex = 7; - this.compressionTop.Text = "Compression Level"; - this.compressionTop.TextAlign = System.Drawing.ContentAlignment.TopCenter; - // - // cancelButton - // - this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.cancelButton.Location = new System.Drawing.Point(158, 224); - this.cancelButton.Name = "cancelButton"; - this.cancelButton.Size = new System.Drawing.Size(122, 30); - this.cancelButton.TabIndex = 1; - this.cancelButton.Text = "Cancel"; - this.cancelButton.UseVisualStyleBackColor = true; - this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); - // - // JMDForm - // - this.AcceptButton = this.okButton; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.CancelButton = this.cancelButton; - this.ClientSize = new System.Drawing.Size(292, 273); - this.Controls.Add(this.cancelButton); - this.Controls.Add(this.compressionTop); - this.Controls.Add(this.threadTop); - this.Controls.Add(this.compressionRight); - this.Controls.Add(this.compressionLeft); - this.Controls.Add(this.threadRight); - this.Controls.Add(this.threadLeft); - this.Controls.Add(this.compressionBar); - this.Controls.Add(this.threadsBar); - this.Controls.Add(this.okButton); - this.Name = "JMDForm"; - this.Text = "JMD Compression Options"; - ((System.ComponentModel.ISupportInitialize)(this.threadsBar)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.compressionBar)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + this.okButton = new System.Windows.Forms.Button(); + this.threadsBar = new System.Windows.Forms.TrackBar(); + this.compressionBar = new System.Windows.Forms.TrackBar(); + this.threadLeft = new System.Windows.Forms.Label(); + this.threadRight = new System.Windows.Forms.Label(); + this.compressionLeft = new System.Windows.Forms.Label(); + this.compressionRight = new System.Windows.Forms.Label(); + this.threadTop = new System.Windows.Forms.Label(); + this.compressionTop = new System.Windows.Forms.Label(); + this.cancelButton = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.threadsBar)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.compressionBar)).BeginInit(); + this.SuspendLayout(); + // + // okButton + // + this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; + this.okButton.Location = new System.Drawing.Point(23, 224); + this.okButton.Name = "okButton"; + this.okButton.Size = new System.Drawing.Size(117, 30); + this.okButton.TabIndex = 0; + this.okButton.Text = "OK"; + this.okButton.UseVisualStyleBackColor = true; + this.okButton.Click += new System.EventHandler(this.okButton_Click); + // + // threadsBar + // + this.threadsBar.Location = new System.Drawing.Point(88, 68); + this.threadsBar.Name = "threadsBar"; + this.threadsBar.Size = new System.Drawing.Size(104, 42); + this.threadsBar.TabIndex = 5; + this.threadsBar.Scroll += new System.EventHandler(this.threadsBar_Scroll); + // + // compressionBar + // + this.compressionBar.Location = new System.Drawing.Point(88, 138); + this.compressionBar.Name = "compressionBar"; + this.compressionBar.Size = new System.Drawing.Size(104, 42); + this.compressionBar.TabIndex = 9; + this.compressionBar.Scroll += new System.EventHandler(this.compressionBar_Scroll); + // + // threadLeft + // + this.threadLeft.AutoSize = true; + this.threadLeft.Location = new System.Drawing.Point(47, 68); + this.threadLeft.Name = "threadLeft"; + this.threadLeft.Size = new System.Drawing.Size(35, 13); + this.threadLeft.TabIndex = 2; + this.threadLeft.Text = "label1"; + // + // threadRight + // + this.threadRight.AutoSize = true; + this.threadRight.Location = new System.Drawing.Point(198, 68); + this.threadRight.Name = "threadRight"; + this.threadRight.Size = new System.Drawing.Size(35, 13); + this.threadRight.TabIndex = 4; + this.threadRight.Text = "label2"; + // + // compressionLeft + // + this.compressionLeft.AutoSize = true; + this.compressionLeft.Location = new System.Drawing.Point(47, 148); + this.compressionLeft.Name = "compressionLeft"; + this.compressionLeft.Size = new System.Drawing.Size(35, 13); + this.compressionLeft.TabIndex = 6; + this.compressionLeft.Text = "label3"; + // + // compressionRight + // + this.compressionRight.AutoSize = true; + this.compressionRight.Location = new System.Drawing.Point(198, 148); + this.compressionRight.Name = "compressionRight"; + this.compressionRight.Size = new System.Drawing.Size(35, 13); + this.compressionRight.TabIndex = 8; + this.compressionRight.Text = "label4"; + // + // threadTop + // + this.threadTop.AutoSize = true; + this.threadTop.Location = new System.Drawing.Point(94, 52); + this.threadTop.Name = "threadTop"; + this.threadTop.Size = new System.Drawing.Size(98, 13); + this.threadTop.TabIndex = 3; + this.threadTop.Text = "Number of Threads"; + this.threadTop.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // compressionTop + // + this.compressionTop.AutoSize = true; + this.compressionTop.Location = new System.Drawing.Point(96, 122); + this.compressionTop.Name = "compressionTop"; + this.compressionTop.Size = new System.Drawing.Size(96, 13); + this.compressionTop.TabIndex = 7; + this.compressionTop.Text = "Compression Level"; + this.compressionTop.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // cancelButton + // + this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.cancelButton.Location = new System.Drawing.Point(158, 224); + this.cancelButton.Name = "cancelButton"; + this.cancelButton.Size = new System.Drawing.Size(122, 30); + this.cancelButton.TabIndex = 1; + this.cancelButton.Text = "Cancel"; + this.cancelButton.UseVisualStyleBackColor = true; + this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); + // + // JMDForm + // + this.AcceptButton = this.okButton; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.cancelButton; + this.ClientSize = new System.Drawing.Size(292, 273); + this.Controls.Add(this.cancelButton); + this.Controls.Add(this.compressionTop); + this.Controls.Add(this.threadTop); + this.Controls.Add(this.compressionRight); + this.Controls.Add(this.compressionLeft); + this.Controls.Add(this.threadRight); + this.Controls.Add(this.threadLeft); + this.Controls.Add(this.compressionBar); + this.Controls.Add(this.threadsBar); + this.Controls.Add(this.okButton); + this.MaximumSize = new System.Drawing.Size(300, 300); + this.MinimumSize = new System.Drawing.Size(300, 300); + this.Name = "JMDForm"; + this.Text = "JMD Compression Options"; + ((System.ComponentModel.ISupportInitialize)(this.threadsBar)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.compressionBar)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } diff --git a/BizHawk.MultiClient/AVOut/VideoWriterChooserForm.Designer.cs b/BizHawk.MultiClient/AVOut/VideoWriterChooserForm.Designer.cs index 99eab18d02..fb6e88fd61 100644 --- a/BizHawk.MultiClient/AVOut/VideoWriterChooserForm.Designer.cs +++ b/BizHawk.MultiClient/AVOut/VideoWriterChooserForm.Designer.cs @@ -37,17 +37,21 @@ // // listBox1 // + this.listBox1.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.listBox1.FormattingEnabled = true; - this.listBox1.Location = new System.Drawing.Point(12, 21); + this.listBox1.Location = new System.Drawing.Point(12, 12); this.listBox1.Name = "listBox1"; - this.listBox1.Size = new System.Drawing.Size(279, 186); + this.listBox1.Size = new System.Drawing.Size(272, 186); this.listBox1.TabIndex = 0; this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged); // // button1 // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.button1.DialogResult = System.Windows.Forms.DialogResult.OK; - this.button1.Location = new System.Drawing.Point(297, 21); + this.button1.Location = new System.Drawing.Point(290, 12); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(96, 32); this.button1.TabIndex = 1; @@ -56,7 +60,9 @@ // // button2 // - this.button2.Location = new System.Drawing.Point(297, 59); + this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.button2.Location = new System.Drawing.Point(290, 50); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(96, 37); this.button2.TabIndex = 2; @@ -65,8 +71,9 @@ // // label1 // + this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(9, 224); + this.label1.Location = new System.Drawing.Point(12, 201); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(35, 13); this.label1.TabIndex = 3; @@ -74,8 +81,9 @@ // // label2 // + this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(10, 252); + this.label2.Location = new System.Drawing.Point(12, 223); this.label2.MaximumSize = new System.Drawing.Size(370, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(35, 13); @@ -88,12 +96,13 @@ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.button2; - this.ClientSize = new System.Drawing.Size(405, 313); + this.ClientSize = new System.Drawing.Size(392, 313); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.listBox1); + this.MinimumSize = new System.Drawing.Size(370, 240); this.Name = "VideoWriterChooserForm"; this.Text = "Choose A\\V Writer"; this.ResumeLayout(false); diff --git a/BizHawk.MultiClient/GBtools/ColorChooserForm.Designer.cs b/BizHawk.MultiClient/GBtools/ColorChooserForm.Designer.cs index 2c6577268b..d93b492f4d 100644 --- a/BizHawk.MultiClient/GBtools/ColorChooserForm.Designer.cs +++ b/BizHawk.MultiClient/GBtools/ColorChooserForm.Designer.cs @@ -339,6 +339,7 @@ this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); + this.MinimumSize = new System.Drawing.Size(310, 264); this.Name = "ColorChooserForm"; this.ShowIcon = false; this.Text = "Gameboy Palette Config";