Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Indentation
Indentation [message #185855] Thu, 30 June 2005 14:41 Go to next message
Eclipse UserFriend
Originally posted by: freddie_nurke.hotmail.com

I'm working with TextFlows in a GraphicalTextEditor, layed out with a
PagagraphTextLayout. I want to implemenent indentations, so I can move
the left and right margins in from the edge by a specified amount. I
also want to be able to specify that the first line is indented
differently from the remainder of the paragraph.

How do I tell the ParagraphTextLayout to move things in?

Thanks,

Fred
Re: Indentation [message #186519 is a reply to message #185855] Tue, 05 July 2005 18:45 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Currently the only possible option is a border around the block, which acts
as a margin. For indentation, you could create a bogus first figure which
adds an empty fragment to the first line of the paragraph. We are looking
for feature requests and code contributions in this package.

"Fred Nurke" <freddie_nurke@hotmail.com> wrote in message
news:da109u$p6v$1@news.eclipse.org...
> I'm working with TextFlows in a GraphicalTextEditor, layed out with a
> PagagraphTextLayout. I want to implemenent indentations, so I can move
> the left and right margins in from the edge by a specified amount. I also
> want to be able to specify that the first line is indented differently
> from the remainder of the paragraph.
>
> How do I tell the ParagraphTextLayout to move things in?
>
> Thanks,
>
> Fred
Previous Topic:How to run GEF flow / logic editor examples in debugger?
Next Topic:Location of a DirectEditRequest
Goto Forum:
  


Current Time: Tue Dec 03 05:17:07 GMT 2024

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

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

Back to the top