diff options
author | nosami <jasonimison@gmail.com> | 2019-11-14 21:38:50 +0300 |
---|---|---|
committer | nosami <jasonimison@gmail.com> | 2019-11-14 21:39:33 +0300 |
commit | 824c1c909e6a292477ece959d06b3b8a0a41700b (patch) | |
tree | 638e9f8af53341f6e0c1c445ecc5e8d21c621062 /main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore.Scaffolding/ScaffolderTemplateConfigurePage.cs | |
parent | 2322e162f6fc467d8e999041cf53bba54f824bae (diff) |
Make entry fields larger and change labels. Fixes VSTS #1020902
Diffstat (limited to 'main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore.Scaffolding/ScaffolderTemplateConfigurePage.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore.Scaffolding/ScaffolderTemplateConfigurePage.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore.Scaffolding/ScaffolderTemplateConfigurePage.cs b/main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore.Scaffolding/ScaffolderTemplateConfigurePage.cs index d487a06490..2a3b38ceca 100644 --- a/main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore.Scaffolding/ScaffolderTemplateConfigurePage.cs +++ b/main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore.Scaffolding/ScaffolderTemplateConfigurePage.cs @@ -61,6 +61,7 @@ namespace MonoDevelop.AspNetCore.Scaffolding table.Add (label, 0, rowIndex, hpos: WidgetPlacement.End); table.Add (input, 1, rowIndex); input.Changed += (sender, args) => s.SelectedValue = input.Text; + input.MinWidth = 300; input.SetFocus (); break; case ComboField comboField: @@ -68,11 +69,13 @@ namespace MonoDevelop.AspNetCore.Scaffolding if (comboField.IsEditable) { var comboBoxEntry = new ComboBoxEntry (); comboBoxEntry.TextEntry.Changed += (sender, args) => comboField.SelectedValue = comboBoxEntry.TextEntry.Text; + comboBoxEntry.Items.Add (""); comboBox = comboBoxEntry; } else { comboBox = new ComboBox (); } + comboBox.MinWidth = 300; Task.Run (async () => { var options = await comboField.Options; await Runtime.RunInMainThread (() => { |