Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » any method can SWT Label dislay special character
any method can SWT Label dislay special character [message #463213] Mon, 31 October 2005 07:37 Go to next message
Eclipse UserFriend
Originally posted by: murley.murley.murley

Hi,
i have a label that want to display the temperature. But i don't know how
to display it symbol in Label (e.g. 38 oC, where 'o' should display in
correct position)

I have alternative method.., that use image instead, do anyone know SWT
can do that?

Thanks~
Re: any method can SWT Label dislay special character [message #463405 is a reply to message #463213] Fri, 04 November 2005 19:57 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
If there is a Unicode character that is what you want, you can use it.

"murley" <murley@murley.murley> wrote in message
news:dk4hji$fa3$1@news.eclipse.org...
> Hi,
> i have a label that want to display the temperature. But i don't know
how
> to display it symbol in Label (e.g. 38 oC, where 'o' should display in
> correct position)
>
> I have alternative method.., that use image instead, do anyone know SWT
> can do that?
>
> Thanks~
>
>
Re: any method can SWT Label dislay special character [message #463419 is a reply to message #463405] Fri, 04 November 2005 22:00 Go to previous message
venkataramana m is currently offline venkataramana mFriend
Messages: 86
Registered: July 2009
Member
Like this -- 38°C ?
That is unicode U+00B0.

If you work on a Windows machine, then take help of Start > Accessories > System Tools > Character Map.

Or else, just cut and paste this ° ;-)

Thanks
Venkat
Previous Topic:open combobox' dropdown programmatically?
Next Topic:Table: Padding between columns
Goto Forum:
  


Current Time: Sat Dec 20 20:54:33 GMT 2014

Powered by FUDForum. Page generated in 0.01667 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software