Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » TextFlow and Text Alignment
TextFlow and Text Alignment [message #191057] Mon, 08 August 2005 18:05 Go to next message
Eclipse UserFriend
Originally posted by: craig.officeextend.com

Trying to build a simple text figure that can support alignment (e.g.,
left, right, center). The StickyNoteFigure in the example looks like the
ticket, except it doesn't seem to support alignment. On the other hand,
the BlockFlow looks pretty complicated for my application, basically just
a multi-line Label.

Any advice on easiest way to achieve alignment?
Re: TextFlow and Text Alignment [message #191072 is a reply to message #191057] Mon, 08 August 2005 19:04 Go to previous message
Eclipse UserFriend
Originally posted by: craig.officeextend.com

Sometime I amaze myself. Nevermind. In the StickyNote example, the
TextFlow is placed within a FlowPage, which is a subclass of BlockFlow,
which conveniently supplies a
setHorizontalAlignment(PositionConstants.xxx) call.
Previous Topic:PropertyDescriptors in Shapes Example
Next Topic:BUG: Graphics.drawImage and Graphics.drawPoint w/ Graphics.setClip(Path path)
Goto Forum:
  


Current Time: Thu Dec 26 10:28:34 GMT 2024

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

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

Back to the top