auto-adjust the Size of Textwindows, colored text
Posted: Wed Jan 14, 2009 15:21
Hi to all,
I want to make some speech bubbles. The size of these windows should be adjusted to the amount of text they display. Furthermore I'd like to make some words colored to show that some name refers to an important person or item.
What I found so far is:
- Tooltip window allows sizeSelf
- StaticText has TextColours property.
The problem is to put things together.
My questions are:
1. Is it a good idea to use a Tooltip windows for this? I dont think this is the intended use of the Tooltip class
2. Is it possible to color single words ? As far as I have read here, I guess not. If I try to split the text into subwindows, will sizeSelf still work.
Thanks a lot for any advice
I want to make some speech bubbles. The size of these windows should be adjusted to the amount of text they display. Furthermore I'd like to make some words colored to show that some name refers to an important person or item.
What I found so far is:
- Tooltip window allows sizeSelf
- StaticText has TextColours property.
The problem is to put things together.
My questions are:
1. Is it a good idea to use a Tooltip windows for this? I dont think this is the intended use of the Tooltip class
2. Is it possible to color single words ? As far as I have read here, I guess not. If I try to split the text into subwindows, will sizeSelf still work.
Thanks a lot for any advice