Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Powershell WPF window sizes Different when run outside of PS ISE.

$
0
0

Hey there,

I am currently working on a Powershell GUI Script utilising WPF. The problem Im having is that within the ISE when I run the script it all looks great. When I right click on the script from within the desktop environment and select "Run with Powershell", the windows are cropped. This occurs on all windows (Almost 20 windows in all).

I Would Ideally like to have the windows look exactly the same from whichever environment it is launched from. 

I have tried modifying the "MinHeight" and "MinWidth" properties within the XAML, but that pushes out the borders from within ISE.

The Resize option is set to "No Resize".

Any Help Would be Great.

Thanks.

J.

 


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>