CSS not load XWT Dialog [message #643868] |
Wed, 08 December 2010 14:30 |
Missing name Missing name Messages: 57 Registered: September 2009 |
Member |
|
|
Hello,
I try to use a css file in a bundle, in a xwt file via css:id on a label.
My CSS file contains:
#LabelUnBold{
font:10px;
color: #280E8F;
}
I use it in my xwt file like this:
<Label name="myLabel" text="toto" css:id="LabelUnBold"/>
The CSS file is declared in the main application like an extension of org.eclipse.e4.ui.css.swt.theme.
My problem: The Css isn't loaded in my XWT dialog (in a bundle).
May I force the css load ?
It seems to be a problem of classloader because the css is loaded and used in my dialog if I first load a XWTSaveablePart.
Have you got an idea ?
Thanks in advance.
[Updated on: Wed, 08 December 2010 14:30] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03166 seconds