I am using nebula RichTextViewer to display styled html text. When i add
vertical bar to the viewer it got added but seems to be not attached to the
viewer. Scroll not working. Added it to the snippet available for
RichTextViewer example.
final RichTextViewer viewer = new RichTextViewer(parent,
SWT.BORDER | SWT.WRAP | SWT.MULTI | SWT.V_SCROLL);
GridDataFactory.fillDefaults().grab(true, true).span(1,
2).applyTo(viewer);
final Text htmlOutput = new Text(parent,SWT.MULTI | SWT.BORDER
| SWT.WRAP | SWT.V_SCROLL | SWT.READ_ONLY);
GridDataFactory.fillDefaults().grab(true, false).span(2,
1).hint(SWT.DEFAULT, 100).applyTo(htmlOutput);
Composite buttonPanel = new Composite(parent, SWT.NONE);
buttonPanel.setLayout(new RowLayout());
GridDataFactory.fillDefaults().grab(true,
false).applyTo(buttonPanel);
Please suggest.
To participate in the discussion, go here:
https://www.eclipse.org/forums/index.php?t=rview&frm_id=64
_______________________________________________
nebula-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev