aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2023-04-18 14:47:53 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2023-04-18 14:47:53 +0300
commit1c7f16c34f85dd65a02ad08dde984f04a4d82b83 (patch)
tree74fb71b0959d1c7c1b9f09fdd636b3196b43aaf4 /Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs
parent7c7d1078082c261c820297cb6e4e5cf301872e4f (diff)
downloadTango-1c7f16c34f85dd65a02ad08dde984f04a4d82b83.tar.gz
Tango-1c7f16c34f85dd65a02ad08dde984f04a4d82b83.zip
PPC Eureka. Power button, new dialog.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs
index 966ece356..b7f6c40ae 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs
@@ -85,7 +85,7 @@ namespace Tango.PPC.UI
private void InitTS1800()
{
- this.Content = new Views.MainView();
+ mainBorder.Child = new Views.MainView();
bool has_touch = false;
@@ -123,9 +123,9 @@ namespace Tango.PPC.UI
Viewbox viewBox = new Viewbox();
viewBox.Stretch = Stretch.Uniform;
this.Content = viewBox;
- gridMain.Width = 800;
- gridMain.Height = 1280;
- viewBox.Child = gridMain;
+ mainBorder.Width = 800;
+ mainBorder.Height = 1280;
+ viewBox.Child = mainBorder;
LockAspectRatio();
this.SizeChanged += (x, y) =>
{