recipe name filter

This commit is contained in:
meelstorm
2025-07-28 09:52:29 +02:00
parent 71d59df0cd
commit f80b275ad8
58 changed files with 4066 additions and 79 deletions

View File

@@ -46,12 +46,14 @@ namespace VisionBuilder.UI.Windows.Components
private void AddErrorPreviewInternal(ErrorData errorData)
{
var pb = new PictureBox();
var width = 293 / 2;
var height = 220 / 2;
pb.Size = new Size(width, height + 20);
var width = 293 / 1.6f;
var height = 220 / 1.6f;
pb.Size = new Size((int)width, (int)height + 20);
pb.SizeMode = PictureBoxSizeMode.Zoom;
pb.Margin = new Padding(5,0,5,5);
var numberedImage = new Bitmap(width, height + 20);
var text = DateTime.Now.ToString("yy-MM-dd") + " " + DateTime.Now.ToString("T");
var numberedImage = new Bitmap((int)width, (int)height + 20);
var text = errorData.Title;
using (Graphics g = Graphics.FromImage(numberedImage))
{