diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-04-18 14:47:53 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-04-18 14:47:53 +0300 |
| commit | 1c7f16c34f85dd65a02ad08dde984f04a4d82b83 (patch) | |
| tree | 74fb71b0959d1c7c1b9f09fdd636b3196b43aaf4 /Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs | |
| parent | 7c7d1078082c261c820297cb6e4e5cf301872e4f (diff) | |
| download | Tango-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.cs | 8 |
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) => { |
