Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Draw2D] Primitive rich text label
[Draw2D] Primitive rich text label [message #247383] Wed, 18 February 2009 14:32 Go to next message
Dénes Harmath is currently offline Dénes HarmathFriend
Messages: 157
Registered: July 2009
Senior Member
Hi,
is there a label implementation which supports multiple fonts in one
label? I don't need icon support but there are several cases where I need
to display a string in one line with substrings having different fonts.
Having to separate them into multiple Labels is tedious, and layout is
much more difficult then. If anyone knows about such a figure, I would
really appreciate it.
Thanks in advance,
thSoft
Re: [Draw2D] Primitive rich text label [message #247404 is a reply to message #247383] Thu, 19 February 2009 03:49 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Dennis

Check out the TextFlowExample in Draw2d examples, it has the BlockFlow
figure you are looking for.

Cheers...
Anthony

"Dennis Harmath" <thsoft@vipmail.hu> wrote in message
news:e37ab58274f917b14c263172b2c190bb$1@www.eclipse.org...
> Hi,
> is there a label implementation which supports multiple fonts in one
> label? I don't need icon support but there are several cases where I need
> to display a string in one line with substrings having different fonts.
> Having to separate them into multiple Labels is tedious, and layout is
> much more difficult then. If anyone knows about such a figure, I would
> really appreciate it.
> Thanks in advance,
> thSoft
>
Re: [Draw2D] Primitive rich text label [message #247419 is a reply to message #247404] Thu, 19 February 2009 09:06 Go to previous message
Dénes Harmath is currently offline Dénes HarmathFriend
Messages: 157
Registered: July 2009
Senior Member
Thank you very much, meanwhile I found an alternative solution too:
drawing TextLayouts which can be styled. I'll consider both.
Previous Topic:Print Preview in Gef
Next Topic:Tabbed Pane
Goto Forum:
  


Current Time: Wed Apr 24 16:55:49 GMT 2024

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

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

Back to the top