Hi,
Thanks for your message.
When we test your code in WPF (because you are using the DockPanel, so I guess you are comparing to WPF) we get the exact same result as in CSHTML5.
Therefore, could you please elaborate on what's the problem and what the expected result is?
Here is a screenshot of the CSHTML5 version (compiled with v1.2 beta 11):
![cshtml5.png](./download/file.php?id=462&sid=977a89e8bc500a40e272cf001b2fe364)
- cshtml5.png (26.85 KiB) Viewed 12243 times
And here is a screenshot of the WPF version:
![wpf.png](./download/file.php?id=463&sid=977a89e8bc500a40e272cf001b2fe364)
- wpf.png (11.1 KiB) Viewed 12243 times
The two versions appear to be almost identical.
Here is the attached WPF project if you would like to test:
Thanks
Regards
JS-Support