|Displaying a RichTextEditor in a popup [message #589871]
||Thu, 10 July 2008 12:23
Registered: July 2009
I want to offer a rich text editor for some properties in a EMF-like
editor. When the button "..." is pressed, a popup appears. I managed to
display a rich text editor but when I add the richtexttoolbar (with the
fillToolBar() method), it appears at the bottom :( Here is a part of my
RichTextEditor rte = new RichTextEditor(parent, SWT.NONE,
IRichText rt = rte.getRichTextControl();
RichTextToolBar rttb = new RichTextToolBar(parent, SWT.NONE, rt);
In the API (v1.0), the RichTextEditor has only 2 parameters but in my
plugin (v1.2), there are 3. Can it come from this ?
Moreover, the richtext object is very small and I want it to fill the
popup dialog (horizontally). I thought this was due to the layout and the
layout data so I tried many combinaisons but it didn't work :(
Can anyone help me ?
Thanks in advance !!
Powered by FUDForum
. Page generated in 0.01671 seconds