Merge branch 'master' of https://github.com/LuisM000/VS4Mac-TextGenerator
This commit is contained in:
Коммит
dd52f4bae6
|
@ -6,7 +6,7 @@ using Mono.Addins.Description;
|
|||
[assembly: Addin(
|
||||
"TextGenerator",
|
||||
Namespace = "MonoDevelop",
|
||||
Version = "0.1",
|
||||
Version = "0.2",
|
||||
Category = "IDE extensions"
|
||||
)]
|
||||
|
||||
|
|
|
@ -10,16 +10,15 @@ 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;
|
||||
|
||||
LipsumGeneratorService _textGeneratorService;
|
||||
|
||||
public GenerateTextDialog()
|
||||
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче