Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Spacing BlockFlows
Spacing BlockFlows [message #130404] Tue, 04 May 2004 08:39
Graeme Rocher is currently offline Graeme RocherFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,

I'm using BlockFlow objects to draw my paragraphs, however I want them to
be spaced further apart, being at least 2 line breaks apart (They
currently look like they only have 1 line break inbetween).

I have tried everything, including modifying the size, the bounds, trying
different layout managers and I can't get them to have more space before
or after, any ideas? My current code is like this for each paragraph that
I'm drawing:

// create new block for paragraph
BlockFlow paraFlow = new BlockFlow();
// set the text
TextFlow text = new TextFlow("this is some text");
// set the layout
text.setLayoutManager(new ParagraphTextLayout(text));
page.add(paraFlow);
Previous Topic:z order
Next Topic:open a file
Goto Forum:
  


Current Time: Thu Apr 25 05:59:13 GMT 2024

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

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

Back to the top