<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Pro Window xaml Minimum Width ? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/pro-window-xaml-minimum-width/m-p/1318089#M53886</link>
    <description>&lt;P&gt;I am having trouble with minimums in my Pro Windows.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For example:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In an Add-In Button, written in C#, my button produces a Pro Window.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;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:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;&amp;lt;controls:ProWindow x:Class="My_AddIn_Pro.MySmallWindow"&lt;BR /&gt;xmlns="&lt;A href="http://schemas.microsoft.com/winfx/2006/xaml/presentation" target="_blank"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/A&gt;"&lt;BR /&gt;xmlns:controls="clr-namespace:ArcGIS.Desktop.Framework.Controls;assembly=ArcGIS.Desktop.Framework"&lt;BR /&gt;xmlns:x="&lt;A href="http://schemas.microsoft.com/winfx/2006/xaml" target="_blank"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/A&gt;"&lt;BR /&gt;xmlns:d="&lt;A href="http://schemas.microsoft.com/expression/blend/2008" target="_blank"&gt;http://schemas.microsoft.com/expression/blend/2008&lt;/A&gt;"&lt;BR /&gt;xmlns:mc="&lt;A href="http://schemas.openxmlformats.org/markup-compatibility/2006" target="_blank"&gt;http://schemas.openxmlformats.org/markup-compatibility/2006&lt;/A&gt;"&lt;BR /&gt;xmlns:extensions="clr-namespace:ArcGIS.Desktop.Extensions;assembly=ArcGIS.Desktop.Extensions"&lt;BR /&gt;mc:Ignorable="d"&lt;BR /&gt;Title="My Small Window" Height="300" Width="175"&amp;gt;&lt;BR /&gt;&amp;lt;controls:ProWindow.Resources&amp;gt;&lt;BR /&gt;&amp;lt;ResourceDictionary&amp;gt;&lt;BR /&gt;&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;&lt;BR /&gt;&amp;lt;extensions:DesignOnlyResourceDictionary Source="pack://application:,,,/ArcGIS.Desktop.Framework;component\Themes\Default.xaml"/&amp;gt;&lt;BR /&gt;&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;&lt;BR /&gt;&amp;lt;/ResourceDictionary&amp;gt;&lt;BR /&gt;&amp;lt;/controls:ProWindow.Resources&amp;gt;&lt;BR /&gt;&amp;lt;Grid&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Grid&amp;gt;&lt;BR /&gt;&amp;lt;/controls:ProWindow&amp;gt;&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;The resulting Pro Window isn't at Width 175 at all. It's nearly twice that width.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;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 &amp;amp; light mode in Pro.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What needs to be done, to set Pro Window sizing to whatever is needed?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a very similar issue with button size, seen here in this GIS Stack Exchange post:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://gis.stackexchange.com/questions/464688/how-to-make-a-dynamic-resource-esri-button-as-small-as-needed-in-an-arcgis-pro-w" target="_blank"&gt;https://gis.stackexchange.com/questions/464688/how-to-make-a-dynamic-resource-esri-button-as-small-as-needed-in-an-arcgis-pro-w&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2023 23:38:32 GMT</pubDate>
    <dc:creator>LaurenPeckman</dc:creator>
    <dc:date>2023-08-11T23:38:32Z</dc:date>
    <item>
      <title>Pro Window xaml Minimum Width ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/pro-window-xaml-minimum-width/m-p/1318089#M53886</link>
      <description>&lt;P&gt;I am having trouble with minimums in my Pro Windows.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For example:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In an Add-In Button, written in C#, my button produces a Pro Window.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;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:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;&amp;lt;controls:ProWindow x:Class="My_AddIn_Pro.MySmallWindow"&lt;BR /&gt;xmlns="&lt;A href="http://schemas.microsoft.com/winfx/2006/xaml/presentation" target="_blank"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/A&gt;"&lt;BR /&gt;xmlns:controls="clr-namespace:ArcGIS.Desktop.Framework.Controls;assembly=ArcGIS.Desktop.Framework"&lt;BR /&gt;xmlns:x="&lt;A href="http://schemas.microsoft.com/winfx/2006/xaml" target="_blank"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/A&gt;"&lt;BR /&gt;xmlns:d="&lt;A href="http://schemas.microsoft.com/expression/blend/2008" target="_blank"&gt;http://schemas.microsoft.com/expression/blend/2008&lt;/A&gt;"&lt;BR /&gt;xmlns:mc="&lt;A href="http://schemas.openxmlformats.org/markup-compatibility/2006" target="_blank"&gt;http://schemas.openxmlformats.org/markup-compatibility/2006&lt;/A&gt;"&lt;BR /&gt;xmlns:extensions="clr-namespace:ArcGIS.Desktop.Extensions;assembly=ArcGIS.Desktop.Extensions"&lt;BR /&gt;mc:Ignorable="d"&lt;BR /&gt;Title="My Small Window" Height="300" Width="175"&amp;gt;&lt;BR /&gt;&amp;lt;controls:ProWindow.Resources&amp;gt;&lt;BR /&gt;&amp;lt;ResourceDictionary&amp;gt;&lt;BR /&gt;&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;&lt;BR /&gt;&amp;lt;extensions:DesignOnlyResourceDictionary Source="pack://application:,,,/ArcGIS.Desktop.Framework;component\Themes\Default.xaml"/&amp;gt;&lt;BR /&gt;&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;&lt;BR /&gt;&amp;lt;/ResourceDictionary&amp;gt;&lt;BR /&gt;&amp;lt;/controls:ProWindow.Resources&amp;gt;&lt;BR /&gt;&amp;lt;Grid&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Grid&amp;gt;&lt;BR /&gt;&amp;lt;/controls:ProWindow&amp;gt;&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;The resulting Pro Window isn't at Width 175 at all. It's nearly twice that width.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;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 &amp;amp; light mode in Pro.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What needs to be done, to set Pro Window sizing to whatever is needed?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a very similar issue with button size, seen here in this GIS Stack Exchange post:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://gis.stackexchange.com/questions/464688/how-to-make-a-dynamic-resource-esri-button-as-small-as-needed-in-an-arcgis-pro-w" target="_blank"&gt;https://gis.stackexchange.com/questions/464688/how-to-make-a-dynamic-resource-esri-button-as-small-as-needed-in-an-arcgis-pro-w&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 23:38:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/pro-window-xaml-minimum-width/m-p/1318089#M53886</guid>
      <dc:creator>LaurenPeckman</dc:creator>
      <dc:date>2023-08-11T23:38:32Z</dc:date>
    </item>
  </channel>
</rss>

