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 02:37 Go to next message
Eclipse User
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 14:57 Go to previous messageGo to next message
Steve Northover is currently offline Steve Northover
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 17:00 Go to previous message
venkataramana m is currently offline venkataramana m
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: Thu Jul 31 07:30:05 EDT 2014

Powered by FUDForum. Page generated in 0.02628 seconds