PopupButton Label Wrapping

Ribbon for WPF Forum

Posted 11 years ago by John Lanpheer
Version: 3.5.0427
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.


Comments (3)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
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
OK, thanx, I'll look for that in your next release.
Posted 9 years ago by John Taylor
If you're doing it in code use:
myControl.Label = "Data" + char.ConvertFromUtf32(160) + "set";
The latest build of this product (v2018.1 build 0675) 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.