Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » eRCP » Display html-text in eSWT-Label
Display html-text in eSWT-Label [message #537924] Fri, 04 June 2010 08:00 Go to next message
georg is currently offline georgFriend
Messages: 4
Registered: June 2010
Junior Member
Hi,

is it possible to display html-text in eSWT-Label/Button - Widgets?

Thanks,
Georg
Re: Display html-text in eSWT-Label [message #538111 is a reply to message #537924] Sat, 05 June 2010 05:55 Go to previous messageGo to next message
Gorkem Ercan is currently offline Gorkem ErcanFriend
Messages: 166
Registered: July 2009
Senior Member
No, Button & Label do not render HTML.
--
Gorkem
Re: Display html-text in eSWT-Label [message #539008 is a reply to message #538111] Wed, 09 June 2010 10:35 Go to previous messageGo to next message
georg is currently offline georgFriend
Messages: 4
Registered: June 2010
Junior Member
Thank you for your answer. Is there another way to display formatted text? I have text that contains some expressions in italic and small font.

Georg
Re: Display html-text in eSWT-Label [message #539324 is a reply to message #539008] Thu, 10 June 2010 12:39 Go to previous messageGo to next message
Gorkem Ercan is currently offline Gorkem ErcanFriend
Messages: 166
Registered: July 2009
Senior Member
Unfortunately, eSWT does not contain a built in rich text component. Using Canvas to create one for your own purposes may be the best course.
--
Gorkem
Re: Display html-text in eSWT-Label [message #540544 is a reply to message #539324] Wed, 16 June 2010 13:23 Go to previous message
Mark Rogalski is currently offline Mark RogalskiFriend
Messages: 201
Registered: July 2009
Senior Member
You can change the font/size for the label as a whole, but not change
individual characters in the label.

"Gorkem Ercan" <gercan@acm.org> wrote in message
news:huqme7$bhq$1@build.eclipse.org...
> Unfortunately, eSWT does not contain a built in rich text component. Using
> Canvas to create one for your own purposes may be the best course.
> --
> Gorkem
Re: Display html-text in eSWT-Label [message #564515 is a reply to message #537924] Sat, 05 June 2010 05:55 Go to previous message
Gorkem Ercan is currently offline Gorkem ErcanFriend
Messages: 166
Registered: July 2009
Senior Member
No, Button & Label do not render HTML.
--
Gorkem
Re: Display html-text in eSWT-Label [message #564524 is a reply to message #564515] Wed, 09 June 2010 10:35 Go to previous message
georg is currently offline georgFriend
Messages: 4
Registered: June 2010
Junior Member
Thank you for your answer. Is there another way to display formatted text? I have text that contains some expressions in italic and small font.

Georg
Re: Display html-text in eSWT-Label [message #564539 is a reply to message #564524] Thu, 10 June 2010 12:39 Go to previous message
Gorkem Ercan is currently offline Gorkem ErcanFriend
Messages: 166
Registered: July 2009
Senior Member
Unfortunately, eSWT does not contain a built in rich text component. Using Canvas to create one for your own purposes may be the best course.
--
Gorkem
Re: Display html-text in eSWT-Label [message #564582 is a reply to message #539324] Wed, 16 June 2010 13:23 Go to previous message
Mark Rogalski is currently offline Mark RogalskiFriend
Messages: 201
Registered: July 2009
Senior Member
You can change the font/size for the label as a whole, but not change
individual characters in the label.

"Gorkem Ercan" <gercan@acm.org> wrote in message
news:huqme7$bhq$1@build.eclipse.org...
> Unfortunately, eSWT does not contain a built in rich text component. Using
> Canvas to create one for your own purposes may be the best course.
> --
> Gorkem
Previous Topic:Problem of fillRoundRectangle
Next Topic:eSWT -- MouseEvents
Goto Forum:
  


Current Time: Tue Mar 19 08:50:15 GMT 2024

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

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

Back to the top