Hello,
Is there a way to mark up some text inside of tooltip with bold? I tried wxRichToolTip with '\b' and '\b0' tags, but it didn't help.
So is there possible to solve the problem using standard (or generic) wx controls or it is needed to create custom tooltip control (if so, then I'd like to see links on documentation or example of how to do this)?
Thanks.
bold text inside of wxToolTip (wxRichToolTip)
-
- Earned some good credits
- Posts: 107
- Joined: Tue Aug 28, 2018 1:02 pm
- Location: Belarus
Re: bold text inside of wxToolTip (wxRichToolTip)
Try the markup syntax from here:
https://docs.wxwidgets.org/trunk/classw ... b250395503
But i doubt wxRichToolTip supports it.
https://docs.wxwidgets.org/trunk/classw ... b250395503
But i doubt wxRichToolTip supports it.
Use the source, Luke!
-
- Earned some good credits
- Posts: 107
- Joined: Tue Aug 28, 2018 1:02 pm
- Location: Belarus
Re: bold text inside of wxToolTip (wxRichToolTip)
Unfortunately it doesn't.doublemax wrote:But i doubt wxRichToolTip supports it.
So the only way is to create custom tooltip control?
Re: bold text inside of wxToolTip (wxRichToolTip)
I can't think of any other way at the moment. You should be able to use the generic implementation of wxRichToolTip as a start (<wx>/src/generic/richtooltipg.cpp)So the only way is to create custom tooltip control?
Use the source, Luke!