PopupButton Label Wrapping

Ribbon for WPF Forum

Posted 16 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 16 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 16 years ago by John Lanpheer
OK, thanx, I'll look for that in your next release.
Posted 15 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 (v24.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.