How can one create a org.eclipse.jface.preference.BooleanFieldEditor with a multi-line label?

Posted by Chry Cheng on Stack Overflow See other posts from Stack Overflow or by Chry Cheng
Published on 2010-04-16T02:54:40Z Indexed on 2010/04/16 3:33 UTC
Read the original article Hit count: 290

Filed under:
|
|
|
|

The ff. does not work. "Second line" is rendered on the same line as "First line". What's more is that there is no space between the two.

new BooleanFieldEditor("Name", "First line\nSecond line", getFieldEditorParent());

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about plugin