PopupButton Label Wrapping

Ribbon for WPF Forum

Posted 11 years ago by John Lanpheer
Version: 3.5.0427
Avatar
Is there any way to prevent a label from wrapping in a PopupButton? I have a button with an image and the text "Data Set" which must not wrap.

Thanx

Comments (3)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Not right now but I've added code for the next release so that if you use a non-breaking space character, it will not wrap:
<ribbon:PopupButton Label="Data&#160;Set" />


Actipro Software Support

Posted 11 years ago by John Lanpheer
Avatar
OK, thanx, I'll look for that in your next release.
Posted 10 years ago by John Taylor
Avatar
If you're doing it in code use:
myControl.Label = "Data" + char.ConvertFromUtf32(160) + "set";
The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.