From 185f5190a035ce6a4b7a2f7097778b7b08b2f5e5 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 14 Feb 2016 22:46:59 -0500 Subject: [PATCH] GameShark tool - better layout, anchoring, min size, and tab orders --- .../tools/GameShark.Designer.cs | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/GameShark.Designer.cs b/BizHawk.Client.EmuHawk/tools/GameShark.Designer.cs index 44a2ae338b..aca66a6862 100644 --- a/BizHawk.Client.EmuHawk/tools/GameShark.Designer.cs +++ b/BizHawk.Client.EmuHawk/tools/GameShark.Designer.cs @@ -47,7 +47,8 @@ // // btnClear // - this.btnClear.Location = new System.Drawing.Point(15, 218); + this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.btnClear.Location = new System.Drawing.Point(78, 218); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(75, 23); this.btnClear.TabIndex = 4; @@ -66,19 +67,23 @@ // // txtCheat // + this.txtCheat.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.txtCheat.Location = new System.Drawing.Point(78, 60); this.txtCheat.Multiline = true; this.txtCheat.Name = "txtCheat"; this.txtCheat.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtCheat.Size = new System.Drawing.Size(149, 152); + this.txtCheat.Size = new System.Drawing.Size(169, 152); this.txtCheat.TabIndex = 2; // // btnGo // - this.btnGo.Location = new System.Drawing.Point(152, 218); + this.btnGo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnGo.Location = new System.Drawing.Point(172, 217); this.btnGo.Name = "btnGo"; this.btnGo.Size = new System.Drawing.Size(75, 24); - this.btnGo.TabIndex = 3; + this.btnGo.TabIndex = 5; this.btnGo.Text = "Convert"; this.btnGo.UseVisualStyleBackColor = true; this.btnGo.Click += new System.EventHandler(this.btnGo_Click); @@ -94,9 +99,11 @@ // // txtDescription // + this.txtDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.txtDescription.Location = new System.Drawing.Point(78, 34); this.txtDescription.Name = "txtDescription"; - this.txtDescription.Size = new System.Drawing.Size(149, 20); + this.txtDescription.Size = new System.Drawing.Size(169, 20); this.txtDescription.TabIndex = 1; // // GameShark @@ -114,6 +121,7 @@ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.mnuGameShark; this.MaximizeBox = false; + this.MinimumSize = new System.Drawing.Size(230, 155); this.Name = "GameShark"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "GameShark Converter";