Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » StyledText and different font size
StyledText and different font size [message #462333] Mon, 10 October 2005 19:10 Go to next message
Piotr Maj is currently offline Piotr MajFriend
Messages: 19
Registered: July 2009
Location: Warsaw, Poland
Junior Member

Hello,

I've been googling for a while to find a text widget which supports
different font sizes for different text regions but I have not found
anything.

StyledText allows to change colors and basic styles (bold, italic,
underline), but I cannot see any method for changing font size of a part
of rendered text. I can only change font size of the whole text which is
not what I want.

Anybody knows StyledText widget which supports different font sizes?

--
best wishes,
piotr maj

jcake software - http://www.jcake.com/
Re: StyledText and different font size [message #462334 is a reply to message #462333] Mon, 10 October 2005 19:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

Piotr Maj <pm@jcake.com> wrote:
> Hello,
>
> I've been googling for a while to find a text widget which supports
> different font sizes for different text regions but I have not found
> anything.
>
> StyledText allows to change colors and basic styles (bold, italic,
> underline), but I cannot see any method for changing font size of a
> part of rendered text. I can only change font size of the whole text
> which is not what I want.
>
> Anybody knows StyledText widget which supports different font sizes?

Not really. You might want to consider the GEF WYSIWYG text example- but it
is far from a complete product.

--
Sunil
Re: StyledText and different font size [message #462372 is a reply to message #462334] Tue, 11 October 2005 14:09 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
As a side note, adding multi-font support to StyledText is a 3.2M3 plan item
(November 4th). The corresponding bug report is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=83405 .

Grant

"Sunil Kamath" <sunil_kamath@nohotspammail.com> wrote in message
news:diege0$t98$1@news.eclipse.org...
> Piotr Maj <pm@jcake.com> wrote:
> > Hello,
> >
> > I've been googling for a while to find a text widget which supports
> > different font sizes for different text regions but I have not found
> > anything.
> >
> > StyledText allows to change colors and basic styles (bold, italic,
> > underline), but I cannot see any method for changing font size of a
> > part of rendered text. I can only change font size of the whole text
> > which is not what I want.
> >
> > Anybody knows StyledText widget which supports different font sizes?
>
> Not really. You might want to consider the GEF WYSIWYG text example- but
it
> is far from a complete product.
>
> --
> Sunil
>
>
Previous Topic:fixed TableColumn
Next Topic:How to open modal Swing dialog from Eclipse
Goto Forum:
  


Current Time: Thu Apr 25 16:34:11 GMT 2024

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

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

Back to the top