Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Limit number of Lines in TextFlow
Limit number of Lines in TextFlow [message #176288] Fri, 08 April 2005 20:46 Go to next message
Eclipse UserFriend
Originally posted by: lorenz.m.gmx.at

Hi,

I am using TextFlow in combination with a FlowPage to display multiline
text.

content = new TextFlow();
FlowPage fp = new FlowPage();
fp.add(content);
add(fp);


Works perfectly.

Now I want to limit the nuber of lines shown so that extra text that
cannot be displayed is shortened by "..." (just as it happens in Label).
How can I reach that?

Thanks,
Lorenz
Re: Limit number of Lines in TextFlow [message #176304 is a reply to message #176288] Fri, 08 April 2005 21:49 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
There is no existing support for this.

"Lorenz Maierhofer" <lorenz.m@gmx.at> wrote in message
news:d36qi8$vvf$1@news.eclipse.org...
> Hi,
>
> I am using TextFlow in combination with a FlowPage to display multiline
> text.
>
> content = new TextFlow();
> FlowPage fp = new FlowPage();
> fp.add(content);
> add(fp);
>
>
> Works perfectly.
>
> Now I want to limit the nuber of lines shown so that extra text that
> cannot be displayed is shortened by "..." (just as it happens in Label).
> How can I reach that?
>
> Thanks,
> Lorenz
>
Previous Topic:Updating contents of FigureCanvas
Next Topic:Palette reset on nodes not connections
Goto Forum:
  


Current Time: Sat Feb 04 03:41:33 GMT 2023

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

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

Back to the top