I have an issue with setting the height of a Dockable Panel in Revit. I created a panel that should appear at the bottom of Revit with a fixed height (for example, 50 px). However, every time I start Revit, the panel loads with a larger height than what I specified.
I'm using WPF, and I've already tried setting the height in:
the XAML, the code-behind, and in App.cs, but the panel still opens with the wrong height. How can I force the Dockable Panel to always load with the correct height?