From e8aebde904fa531964cce0ec0ecbbcc0319d1b2b Mon Sep 17 00:00:00 2001 From: Chris Anders Date: Sat, 26 Oct 2024 07:58:48 +0200 Subject: [PATCH] feat: higher display resolution --- .../Controls/MimaComponents/DisplayControl.axaml.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MimaSim/MimaSim/Controls/MimaComponents/DisplayControl.axaml.cs b/src/MimaSim/MimaSim/Controls/MimaComponents/DisplayControl.axaml.cs index 9d26f47..d1fd57e 100644 --- a/src/MimaSim/MimaSim/Controls/MimaComponents/DisplayControl.axaml.cs +++ b/src/MimaSim/MimaSim/Controls/MimaComponents/DisplayControl.axaml.cs @@ -12,8 +12,8 @@ public partial class DisplayControl : UserControl { public Dictionary<(int, int), Border> Pixels { get; set; } = []; - public int PixelWidth { get; set; } = 55; // width in display pixel - public int PixelHeight { get; set; } = 13; // height in display pixel + public int PixelWidth { get; set; } = 100; // width in display pixel + public int PixelHeight { get; set; } = 25; // height in display pixel public DisplayControl() { @@ -45,8 +45,8 @@ protected override void OnApplyTemplate(TemplateAppliedEventArgs e) { BorderBrush = Brushes.Black, BorderThickness = new Thickness(0), - Width = 10, - Height = 10, + Width = 5, + Height = 5, Background = Brushes.White }; Pixels.Add((row, col), cell);