recipe name filter
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user