I'm trying to apply a dependant style to an InlineLabel, and I can see
that the correct style is being set in firebug (since chrome is still
broken ...), but the style isn't actually being used. Here's the
code:
---- *.ui.xml ------
<ui:style ../../resources/definitions.css">
@external mainNavLink-selected mainNavLink-disabled;
.mainNavLink {
font-size: 16px;
margin-left: 25px;
}
.mainNavLink:hover {
color: COLOR_SIX;
cursor: pointer;
}
.mainNavLink-selected {
color: COLOR_SIX;
}
</ui:style>
--- in the presenter ---
selectedLabel.addStyleDependentName("selected");
--- in firebug HTML ----
<span class="EO-agt-fathom-ifathom-client-view-take2-
ContentView_ContentViewUiBinderImpl_GenCss_style-mainNavLink EO-agt-
fathom-ifathom-client-view-take2-
ContentView_ContentViewUiBinderImpl_GenCss_style-mainNavLink-
selected">
--- in firebug Style tab ---
.EO-agt-fathom-ifathom-client-view-take2-
ContentView_ContentViewUiBinderImpl_GenCss_style-mainNavLink {
font-size: 16px;
margin-left: 25px;
}
So you can see where my dependent style has actually been applied to
the InlineLabel in the html, but for some reason it's not actually
using it. Does anyone have any insight to why this is happening? Any
thoughts would be appreciated
Thanks,
John
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.