Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » StyledText variable line spacing
StyledText variable line spacing [message #773408] Sun, 01 January 2012 13:53 Go to next message
valentin Mising name is currently offline valentin Mising nameFriend
Messages: 38
Registered: December 2011
Member
I see that StyledText introduces the renderer that maintains a height of every line. But, I see no way to control it. At the top of some words, I would like to allocate some space for annotations.
Re: StyledText variable line spacing [message #773891 is a reply to message #773408] Mon, 02 January 2012 20:31 Go to previous message
valentin Mising name is currently offline valentin Mising nameFriend
Messages: 38
Registered: December 2011
Member
The question seems to be answered by David Green "using StyleRange with GlyphMetrics. In particular is will cause the images to flow with the text."

http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet212.java?view=markup
Previous Topic:Help regarding image manipulation using eclipse plugin
Next Topic:COM.CoCreateInstance(...) crashes
Goto Forum:
  


Current Time: Fri Apr 19 06:42:00 GMT 2024

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

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

Back to the top