From e83f2a7dd0be4ec7e2490ad7a38dca162ca70378 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 12 Apr 2020 13:26:35 -0700 Subject: [PATCH] Expand met location combobox stupid long met location names in SW/SH; doesn't really hurt. Not gonna measure all string lengths and dynamically stretch it -- not worth. --- PKHeX.WinForms/Controls/PKM Editor/PKMEditor.Designer.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.Designer.cs b/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.Designer.cs index 0bbaf8a45..9f192ffb4 100644 --- a/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.Designer.cs +++ b/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.Designer.cs @@ -1637,12 +1637,13 @@ private void InitializeComponent() // this.CB_MetLocation.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.CB_MetLocation.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.CB_MetLocation.DropDownWidth = 150; + this.CB_MetLocation.Dock = System.Windows.Forms.DockStyle.Fill; + this.CB_MetLocation.DropDownWidth = 200; this.CB_MetLocation.FormattingEnabled = true; this.CB_MetLocation.Location = new System.Drawing.Point(110, 0); this.CB_MetLocation.Margin = new System.Windows.Forms.Padding(0); this.CB_MetLocation.Name = "CB_MetLocation"; - this.CB_MetLocation.Size = new System.Drawing.Size(126, 21); + this.CB_MetLocation.Size = new System.Drawing.Size(162, 21); this.CB_MetLocation.TabIndex = 2; this.CB_MetLocation.SelectedIndexChanged += new System.EventHandler(this.ValidateLocation); this.CB_MetLocation.Validating += new System.ComponentModel.CancelEventHandler(this.ValidateComboBox);