Problem

ribbon:TextBox - Doubled padding

Posted 5 months ago by Avatar Ralph Gucwa - Racelogic

ribbon:TextBox applies its padding twice:

  1. Padding in PART_ContentHost
  2. Margin in PART_ScrollContentPresenter

This results in the effective padding being twice as large as intended.


Comments (4)

Posted 5 months ago by Actipro Software Support - Cleveland, OH, USA

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!


Actipro Software Support
Posted 5 months ago by Ralph Gucwa - Racelogic

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...

Posted 5 months ago by Ralph Gucwa - Racelogic

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.

Posted 5 months ago by Actipro Software Support - Cleveland, OH, USA

Hi Ralph,

We just started beta testing the 2018.1 version.  It should be out sometime in May.


Actipro Software Support
Information The latest build of this product (2018.1 build 0672) was released 2 months ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.