Window resizing and windows 10

I have plugin for smart client that works fine on most computers but its all over the place when viewed on windows 10. See attachment

How can i resize a custom plugin based on its parent size? Does the sidebar have a predefined width or how can i get this value?

Even scrolling the sidebar plugin does erratic rendering of windows…any help would be great.

This is a side-effect of the Smart Client being restructured with use of WPF, it causes the Windows rendering to often misbehave. It is an unfortunate side-effect where the workaround is to rewrite the side panel plugin using the new MIP SDK and the new SidePanelWpfUserControl class.