Deltaohm
asked on 31 Jul 2023, 02:47 PM
| edited on 31 Jul 2023, 02:47 PM
H, I show a balloon tip with a text that is larger than the default size of notification area and I can't see all the text. I tried also with Configurator Example with the same result. Is there a way to show a large text in balloon tip? Thank you
As I can see in your question, you want to wrap the text of the notification. I made a sample project and tried to implement it and it seems that the text is wrapped by default. I attached you the solution and you can take a look.
Unfortunately my problem is not wrapping the text, but show it when it contains many characters. In your example, in the ballon, I see this text:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
It means that it is truncated after 209 characters. If you see all the text could be a setting in the system that I don't know.
Luigi
Dinko
Telerik team
commented on 04 Aug 2023, 01:03 PM
The balloon notification visual does not come from the WPF framework, but it is a part of Windows APIs. This means that it is limited when it comes to modifications. The text in the balloon is restricted from its size, which is something that cannot be changed.
Instead, I would suggest using our RadDesktopAlertcontrol where you can modify the text, you can wrap it, and you can change the height, and the width of the notification.
Thank you Dinko
Unfortunately my problem is not wrapping the text, but show it when it contains many characters. In your example, in the ballon, I see this text:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
It means that it is truncated after 209 characters.
If you see all the text could be a setting in the system that I don't know.
Luigi
The balloon notification visual does not come from the WPF framework, but it is a part of Windows APIs. This means that it is limited when it comes to modifications. The text in the balloon is restricted from its size, which is something that cannot be changed.
Instead, I would suggest using our RadDesktopAlert control where you can modify the text, you can wrap it, and you can change the height, and the width of the notification.