ringbuffer and statistics
This commit is contained in:
@@ -28,7 +28,8 @@ public class DefaultControlFactory : IControlFactory
|
||||
getPreview = value => (string)method.Invoke(null, new[] { value });
|
||||
previewLabel = new Label
|
||||
{
|
||||
AutoSize = true,
|
||||
AutoSize = false,
|
||||
Size = new System.Drawing.Size(600, 30),
|
||||
Padding = new Padding(15, 0, 0, 0),
|
||||
Font = new System.Drawing.Font("Segoe UI", 10, System.Drawing.FontStyle.Italic),
|
||||
Text = getPreview(initialValue)
|
||||
@@ -95,7 +96,7 @@ public class DefaultControlFactory : IControlFactory
|
||||
private Control CreateStringControl(string description, object initialValue, Action<object> valueChangedCallback,
|
||||
string settingDescription, Label previewLabel, Func<object, string> getPreview)
|
||||
{
|
||||
var textBox = new TextBox { Text = initialValue as string, Width = 400 };
|
||||
var textBox = new TextBox { Text = initialValue as string, Width = 600 };
|
||||
var label = new Label { Text = description, AutoSize = true, Padding = new Padding(0, 5, 0, 0) };
|
||||
|
||||
textBox.TextChanged += (s, e) =>
|
||||
|
||||
Reference in New Issue
Block a user