|
Button with differents fonts
|
03/09/2011 4:12 AM
post83851
|
Button with differents fonts
Hi,
i need a button or a clickable label, with different font sizes inside of it. For example a integer value with its unit
shall be displayed. The unit shall be in a much smaller size as the number.
I can not use 2 labels, because when the number of digits change the spacing doesn't look good.
So my idea was to use a PtMultiText and change it resources so that it behaves like a clickable lable. It worked, but I
have one problem left. How do I manage it, that the text is not selectable. Because when I click on my modified
PtMiltiText, it marks the text inside of it.
Somebody can help me with this problem? Or has a other idea to realize a button with different fonts inside of it?
Thanks for your help!
Best regards
Stephen
|
|
|