|
|
|
| Re: WikiText background [message #62669 is a reply to message #62648] |
Wed, 03 December 2008 21:34  |
David Green Messages: 135 Registered: July 2009 |
Senior Member |
|
|
Yau wrote:
> Browser widget or MarkupViewer is preferred.
If you're using a browser widget you can apply a CSS stylesheet. If
doing this programatically, consult the HtmlDocumentBuilder javadoc. If
doing this with Ant tasks, consult the WikiText User Guide documentation.
If you're using the MarkupViewer you can set the background color using
the standard JFace and SWT APIs. I believe it's something like:
markupViewer.getTextWidget().setBackground(color)
Let me know if that doesn't work out for you.
David
|
|
|
| Re: WikiText background [message #595162 is a reply to message #62577] |
Wed, 03 December 2008 16:46  |
David Green Messages: 96 Registered: July 2009 |
Member |
|
|
Yau wrote:
> how to set background image or color for WikiText?
Can you elaborate on your use case? Are you interested in the
background color/image of the WikiText markup editor, or markup rendered
to HTML in a Browser widget or MarkupViewer?
|
|
|
| Re: WikiText background [message #595166 is a reply to message #62625] |
Wed, 03 December 2008 21:09  |
yaumunlam Messages: 33 Registered: July 2009 |
Member |
|
|
Browser widget or MarkupViewer is preferred.
"David Green" <dgreen99@gmail.com> wrote in message
news:gh6uqn$ol4$2@build.eclipse.org...
> Yau wrote:
> > how to set background image or color for WikiText?
>
> Can you elaborate on your use case? Are you interested in the
> background color/image of the WikiText markup editor, or markup rendered
> to HTML in a Browser widget or MarkupViewer?
|
|
|
| Re: WikiText background [message #595175 is a reply to message #62648] |
Wed, 03 December 2008 21:34  |
David Green Messages: 96 Registered: July 2009 |
Member |
|
|
Yau wrote:
> Browser widget or MarkupViewer is preferred.
If you're using a browser widget you can apply a CSS stylesheet. If
doing this programatically, consult the HtmlDocumentBuilder javadoc. If
doing this with Ant tasks, consult the WikiText User Guide documentation.
If you're using the MarkupViewer you can set the background color using
the standard JFace and SWT APIs. I believe it's something like:
markupViewer.getTextWidget().setBackground(color)
Let me know if that doesn't work out for you.
David
|
|
|
Powered by
FUDForum. Page generated in 0.01888 seconds