ringbuffer and statistics

This commit is contained in:
meelstorm
2025-07-18 10:13:46 +02:00
parent d3cb790bd9
commit 40d74d6da6
41 changed files with 1188 additions and 180 deletions

View File

@@ -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) =>