diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-05-28 15:39:37 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-05-28 15:39:37 +0300 |
| commit | ca5e08ff8e740e63a51447a6b100232215bf4192 (patch) | |
| tree | ad9ec97707b210b0a42657796b1857e50a7620f9 /Software/Visual_Studio | |
| parent | c6ee9ffa1bffeb9f743d914e6ef0d326c8c27d4c (diff) | |
| download | Tango-ca5e08ff8e740e63a51447a6b100232215bf4192.tar.gz Tango-ca5e08ff8e740e63a51447a6b100232215bf4192.zip | |
Redundant.
Diffstat (limited to 'Software/Visual_Studio')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest | 2 | ||||
| -rw-r--r-- | Software/Visual_Studio/TEMP/Tango.Graphics2D/Drawing2DStackPanel.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest b/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest index d72e75011..efc5f8179 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest @@ -16,7 +16,7 @@ Remove this element if your application requires this virtualization for backwards compatibility. --> - <requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> + <!--<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />--> </requestedPrivileges> </security> </trustInfo> diff --git a/Software/Visual_Studio/TEMP/Tango.Graphics2D/Drawing2DStackPanel.cs b/Software/Visual_Studio/TEMP/Tango.Graphics2D/Drawing2DStackPanel.cs index e27e0435f..eac848d36 100644 --- a/Software/Visual_Studio/TEMP/Tango.Graphics2D/Drawing2DStackPanel.cs +++ b/Software/Visual_Studio/TEMP/Tango.Graphics2D/Drawing2DStackPanel.cs @@ -92,11 +92,11 @@ namespace Tango.Graphics2D double width = element.Width; double height = element.Height; - if (double.IsNaN(width)) + if (double.IsNaN(width) && Orientation == Orientation.Vertical) { width = ActualWidth; } - if (double.IsNaN(height)) + if (double.IsNaN(height) && Orientation == Orientation.Horizontal) { height = ActualHeight; } |
