From fcb299ce8ac4b867f7b25a6a55493048abf1e481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Sua=CC=81rez=20Ruiz?= Date: Tue, 29 Jan 2019 20:24:03 +0100 Subject: [PATCH] Updated version to v0.2, small UI changes --- src/VS4Mac.TextGenerator/Properties/AddinInfo.cs | 2 +- .../Views/GenerateTextDialog.cs | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/VS4Mac.TextGenerator/Properties/AddinInfo.cs b/src/VS4Mac.TextGenerator/Properties/AddinInfo.cs index b2a2911..cf0cd69 100644 --- a/src/VS4Mac.TextGenerator/Properties/AddinInfo.cs +++ b/src/VS4Mac.TextGenerator/Properties/AddinInfo.cs @@ -6,7 +6,7 @@ using Mono.Addins.Description; [assembly: Addin( "TextGenerator", Namespace = "MonoDevelop", - Version = "0.1", + Version = "0.2", Category = "IDE extensions" )] diff --git a/src/VS4Mac.TextGenerator/Views/GenerateTextDialog.cs b/src/VS4Mac.TextGenerator/Views/GenerateTextDialog.cs index 0922f26..17f3134 100644 --- a/src/VS4Mac.TextGenerator/Views/GenerateTextDialog.cs +++ b/src/VS4Mac.TextGenerator/Views/GenerateTextDialog.cs @@ -10,15 +10,14 @@ namespace VS4Mac.TextGenerator.Views public class GenerateTextDialog : Dialog { VBox _mainBox; + HBox _optionsBox; + Label _optionsLabel; + ComboBox _generatorOptionsComboBox; HBox _numberBox; Label _numberLabel; TextEntry _numberEntry; HBox _buttonBox; Button _generateButton; - - HBox _optionsBox; - Label _optionsLabel; - ComboBox _generatorOptionsComboBox; TextGeneratorService _textGeneratorService; @@ -38,7 +37,7 @@ namespace VS4Mac.TextGenerator.Views _mainBox = new VBox { HeightRequest = 100, - WidthRequest = 235 + WidthRequest = 250 }; _numberBox = new HBox(); @@ -59,7 +58,12 @@ namespace VS4Mac.TextGenerator.Views _optionsBox = new HBox(); _optionsLabel = new Label("Generator option:"); - _generatorOptionsComboBox = new ComboBox(); + + _generatorOptionsComboBox = new ComboBox + { + WidthRequest = 150 + }; + _generatorOptionsComboBox.Items.Add("Characters"); _generatorOptionsComboBox.Items.Add("Words"); _generatorOptionsComboBox.Items.Add("Sentences");