I am having trouble with minimums in my Pro Windows.
For example:
In an Add-In Button, written in C#, my button produces a Pro Window.
Even when blank, I am unable to make my window width smaller. Here is the simple xaml for producing an empty Pro window, upon the click of an Add-In button:
```
<controls:ProWindow x:Class="My_AddIn_Pro.MySmallWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:controls="clr-namespace:ArcGIS.Desktop.Framework.Controls;assembly=ArcGIS.Desktop.Framework"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:extensions="clr-namespace:ArcGIS.Desktop.Extensions;assembly=ArcGIS.Desktop.Extensions"
mc:Ignorable="d"
Title="My Small Window" Height="300" Width="175">
<controls:ProWindow.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<extensions:DesignOnlyResourceDictionary Source="pack://application:,,,/ArcGIS.Desktop.Framework;component\Themes\Default.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</controls:ProWindow.Resources>
<Grid>
</Grid>
</controls:ProWindow>
```
The resulting Pro Window isn't at Width 175 at all. It's nearly twice that width.
In a simple Windows xaml window, I can set whatever size I wish, with a simple Width="". But, that simple window will not auto-adjust to dark mode & light mode in Pro.
What needs to be done, to set Pro Window sizing to whatever is needed?
I have a very similar issue with button size, seen here in this GIS Stack Exchange post:
https://gis.stackexchange.com/questions/464688/how-to-make-a-dynamic-resource-esri-button-as-small-a...