ribbon:TextBox applies its padding twice:
- Padding in PART_ContentHost
- Margin in PART_ScrollContentPresenter
This results in the effective padding being twice as large as intended.
ribbon:TextBox applies its padding twice:
This results in the effective padding being twice as large as intended.
Hi Ralph,
I just did a test in our latest code and am not seeing that. Are you sure your are on our latest and haven't created customized styles/templates? If you see the problem with our code out of the box, please give the exact XAML to reproduce it. Thanks!
Oooops...
I had a very busy day and I reported the bug without verifying it in a separate solution.
You were right, I had a style which affected the Border inside ribbon:TextBox.
And the fact that both Padding in PART_ContentHost and Margin in PART_ScrollContentPresenter were set was perfectly normal.
Sorry for bothering you...
BTW, any rough estimate when a new version of WPF controls is going to be released? No pressure, just to plan my work as the next version is going to contain an important bugfix.
Hi Ralph,
We just started beta testing the 2018.1 version. It should be out sometime in May.
Please log in to a validated account to post comments.