cgb color chooser: sizing stuff

This commit is contained in:
goyuken 2012-11-18 18:52:53 +00:00
parent 8d20c2e351
commit 36dac9f7f4
1 changed files with 39 additions and 38 deletions

View File

@ -29,11 +29,11 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox1 = new System.Windows.Forms.GroupBox();
this.radioButton1 = new System.Windows.Forms.RadioButton(); this.radioButton5 = new System.Windows.Forms.RadioButton();
this.radioButton2 = new System.Windows.Forms.RadioButton();
this.radioButton3 = new System.Windows.Forms.RadioButton(); this.radioButton3 = new System.Windows.Forms.RadioButton();
this.radioButton4 = new System.Windows.Forms.RadioButton(); this.radioButton4 = new System.Windows.Forms.RadioButton();
this.radioButton5 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton();
this.radioButton1 = new System.Windows.Forms.RadioButton();
this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox2 = new System.Windows.Forms.GroupBox();
this.buttonOK = new System.Windows.Forms.Button(); this.buttonOK = new System.Windows.Forms.Button();
this.buttonCancel = new System.Windows.Forms.Button(); this.buttonCancel = new System.Windows.Forms.Button();
@ -56,29 +56,17 @@
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "Preset Select"; this.groupBox1.Text = "Preset Select";
// //
// radioButton1 // radioButton5
// //
this.radioButton1.AutoSize = true; this.radioButton5.AutoSize = true;
this.radioButton1.Location = new System.Drawing.Point(6, 19); this.radioButton5.Location = new System.Drawing.Point(6, 111);
this.radioButton1.Name = "radioButton1"; this.radioButton5.Name = "radioButton5";
this.radioButton1.Size = new System.Drawing.Size(71, 17); this.radioButton5.Size = new System.Drawing.Size(117, 17);
this.radioButton1.TabIndex = 0; this.radioButton5.TabIndex = 2;
this.radioButton1.TabStop = true; this.radioButton5.TabStop = true;
this.radioButton1.Text = "Gambatte"; this.radioButton5.Text = "VBA Accurate (Old)";
this.radioButton1.UseVisualStyleBackColor = true; this.radioButton5.UseVisualStyleBackColor = true;
this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); this.radioButton5.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
//
// radioButton2
//
this.radioButton2.AutoSize = true;
this.radioButton2.Location = new System.Drawing.Point(6, 42);
this.radioButton2.Name = "radioButton2";
this.radioButton2.Size = new System.Drawing.Size(48, 17);
this.radioButton2.TabIndex = 1;
this.radioButton2.TabStop = true;
this.radioButton2.Text = "Vivid";
this.radioButton2.UseVisualStyleBackColor = true;
this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
// //
// radioButton3 // radioButton3
// //
@ -104,17 +92,29 @@
this.radioButton4.UseVisualStyleBackColor = true; this.radioButton4.UseVisualStyleBackColor = true;
this.radioButton4.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); this.radioButton4.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
// //
// radioButton5 // radioButton2
// //
this.radioButton5.AutoSize = true; this.radioButton2.AutoSize = true;
this.radioButton5.Location = new System.Drawing.Point(6, 111); this.radioButton2.Location = new System.Drawing.Point(6, 42);
this.radioButton5.Name = "radioButton5"; this.radioButton2.Name = "radioButton2";
this.radioButton5.Size = new System.Drawing.Size(117, 17); this.radioButton2.Size = new System.Drawing.Size(48, 17);
this.radioButton5.TabIndex = 2; this.radioButton2.TabIndex = 1;
this.radioButton5.TabStop = true; this.radioButton2.TabStop = true;
this.radioButton5.Text = "VBA Accurate (Old)"; this.radioButton2.Text = "Vivid";
this.radioButton5.UseVisualStyleBackColor = true; this.radioButton2.UseVisualStyleBackColor = true;
this.radioButton5.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
//
// radioButton1
//
this.radioButton1.AutoSize = true;
this.radioButton1.Location = new System.Drawing.Point(6, 19);
this.radioButton1.Name = "radioButton1";
this.radioButton1.Size = new System.Drawing.Size(71, 17);
this.radioButton1.TabIndex = 0;
this.radioButton1.TabStop = true;
this.radioButton1.Text = "Gambatte";
this.radioButton1.UseVisualStyleBackColor = true;
this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
// //
// groupBox2 // groupBox2
// //
@ -129,7 +129,7 @@
// buttonOK // buttonOK
// //
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.buttonOK.Location = new System.Drawing.Point(107, 171); this.buttonOK.Location = new System.Drawing.Point(263, 171);
this.buttonOK.Name = "buttonOK"; this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(75, 23); this.buttonOK.Size = new System.Drawing.Size(75, 23);
this.buttonOK.TabIndex = 3; this.buttonOK.TabIndex = 3;
@ -139,7 +139,7 @@
// buttonCancel // buttonCancel
// //
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonCancel.Location = new System.Drawing.Point(188, 171); this.buttonCancel.Location = new System.Drawing.Point(344, 171);
this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 23); this.buttonCancel.Size = new System.Drawing.Size(75, 23);
this.buttonCancel.TabIndex = 4; this.buttonCancel.TabIndex = 4;
@ -160,11 +160,12 @@
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.buttonCancel; this.CancelButton = this.buttonCancel;
this.ClientSize = new System.Drawing.Size(426, 202); this.ClientSize = new System.Drawing.Size(431, 206);
this.Controls.Add(this.buttonCancel); this.Controls.Add(this.buttonCancel);
this.Controls.Add(this.buttonOK); this.Controls.Add(this.buttonOK);
this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Name = "CGBColorChooserForm"; this.Name = "CGBColorChooserForm";
this.Text = "Gameboy Color Palette Config"; this.Text = "Gameboy Color Palette Config";
this.groupBox1.ResumeLayout(false); this.groupBox1.ResumeLayout(false);