ribbon:TextBox - Doubled padding

Editors for WPF Forum

Posted 11 months ago by Ralph Gucwa - Racelogic
Version: 17.2.0665
Environment: Windows 7 (64-bit)
Avatar

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 11 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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 11 months ago by Ralph Gucwa - Racelogic
Avatar

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 11 months ago by Ralph Gucwa - Racelogic
Avatar

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 11 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Ralph,

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


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.