Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » counting rows for text wrap in layoutmanager
counting rows for text wrap in layoutmanager [message #197853] Thu, 17 July 2008 22:06 Go to next message
Eclipse UserFriend
Originally posted by: kelvinng.db.gmail.com

I wrote my own layout manager, and I enabled text wrap.

Is there some possible way for me to count the number of rows there are
for the text after the text wraps?

~Kelvin Ng
Re: counting rows for text wrap in layoutmanager [message #197861 is a reply to message #197853] Thu, 17 July 2008 22:22 Go to previous message
Eclipse UserFriend
Originally posted by: kelvinng.db.gmail.com

Nevermind!

it seems that WrapLabel's .getSubStringText() seems to print out the
text with new line chracters, so I can count the number of new line
characters.

~Kelvin Ng


On 2008-07-17 18:06:41 -0400, Kelvin Ng <kelvinng.db@gmail.com> said:

> I wrote my own layout manager, and I enabled text wrap.
>
> Is there some possible way for me to count the number of rows there are
> for the text after the text wraps?
>
> ~Kelvin Ng
Previous Topic:IFigure client area
Next Topic:property view show reference
Goto Forum:
  


Current Time: Sat Nov 09 00:06:14 GMT 2024

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

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

Back to the top