From c01d058b3e86012357c6d87fec2bbf2a27ab23b1 Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 28 Sep 2024 23:13:30 -0700 Subject: [PATCH] remove hard width in combobox --- .../EmbeddedPlugins/MenuStripPlugin/MainMenuStripPlugin.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FRBDK/Glue/Glue/Plugins/EmbeddedPlugins/MenuStripPlugin/MainMenuStripPlugin.cs b/FRBDK/Glue/Glue/Plugins/EmbeddedPlugins/MenuStripPlugin/MainMenuStripPlugin.cs index 1046c4f32..3ac8d6aa4 100644 --- a/FRBDK/Glue/Glue/Plugins/EmbeddedPlugins/MenuStripPlugin/MainMenuStripPlugin.cs +++ b/FRBDK/Glue/Glue/Plugins/EmbeddedPlugins/MenuStripPlugin/MainMenuStripPlugin.cs @@ -23,6 +23,7 @@ using System.Text; using System.Windows.Forms; using FlatRedBall.Glue.Themes; +using HorizontalAlignment = System.Windows.HorizontalAlignment; namespace GlueFormsCore.Plugins.EmbeddedPlugins.MenuStripPlugin { @@ -244,7 +245,7 @@ private void newContentCSVToolStripMenuItem_Click(object sender, EventArgs e) comboBox.Items.Add(Localization.Texts.ProjectThisOnly); // May 11 2023 - probably want to default to this project comboBox.Text = Localization.Texts.ProjectThisOnly; - comboBox.Width = 136; + comboBox.HorizontalAlignment = HorizontalAlignment.Center; tiw.AddControl(comboBox); // CSVs can be added to be project-specific or shared across all projects (installed to a centralized location)