diff options
author | nosami <jasonimison@gmail.com> | 2019-10-30 20:16:20 +0300 |
---|---|---|
committer | nosami <jasonimison@gmail.com> | 2019-10-31 14:38:39 +0300 |
commit | fdc00fe9256d128e155919c7a5034725d08e081c (patch) | |
tree | 4c2a137b2bcd63f04f3bfd5e747128f37b99c76a /main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore.Scaffolding/ScaffolderTemplateConfigurePage.cs | |
parent | 1218bfeb98eec12a36f575128a1852a635e94166 (diff) |
Clean up
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 | 9 |
1 files changed, 0 insertions, 9 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 6e9d348f4d..d7ad56a87a 100644 --- a/main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore.Scaffolding/ScaffolderTemplateConfigurePage.cs +++ b/main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore.Scaffolding/ScaffolderTemplateConfigurePage.cs @@ -41,7 +41,6 @@ namespace MonoDevelop.AspNetCore.Scaffolding protected override Widget GetMainControl () { var table = new Table (); - //TODO: may as well just make Fields an array or list var fields = scaffolder.Fields.ToArray (); var rowCount = fields.Count (); @@ -54,8 +53,6 @@ namespace MonoDevelop.AspNetCore.Scaffolding switch (field) { case StringField s: var input = new TextEntry (); - //input.HeightRequest = 30; - //label.Font = label.Font.WithSize (15); label.Text = s.DisplayName; table.Add (label, 0, rowIndex, hpos:WidgetPlacement.End); table.Add (input, 1, rowIndex); @@ -74,8 +71,6 @@ namespace MonoDevelop.AspNetCore.Scaffolding comboBox.Items.Add (option); } - //comboBox.HeightRequest = 35; - //label.Font = label.Font.WithSize (15); label.Text = comboField.DisplayName; table.Add (label, 0, rowIndex, hpos:WidgetPlacement.End); @@ -93,7 +88,6 @@ namespace MonoDevelop.AspNetCore.Scaffolding for(int i = 0; i < boolFieldList.Options.Count; i++) { var boolField = boolFieldList.Options [i]; var checkbox = new CheckBox (boolField.DisplayName); - //checkbox.HeightRequest = 15; checkbox.Active = boolField.Selected; checkbox.Sensitive = boolField.Enabled; checkbox.Toggled += (sender, args) => boolField.Selected = checkbox.Active; @@ -108,10 +102,7 @@ namespace MonoDevelop.AspNetCore.Scaffolding var filter = new FileDialogFilter (fileField.FilterWildcard, fileField.FilterWildcard); fileSelector.Filters.Add (filter); } - //fileSelector.HeightRequest = 40; - //fileSelector.MinHeight = 40; table.Add (fileSelector, 0, rowIndex, colspan:2); - //label.Font = label.Font.WithSize (15); label.Text = fileField.DisplayName; table.Add (label, 0, rowIndex + 1, colspan:2); rowAdditionCount++; |