On 14 juil, 16:29, turumbay <[email protected]> wrote:
> Is where any way to use specific symbols in style declaration?
>
> <ui:style>
>         .expandable:after{
>                 content: "▼";
>         }
> </ui:style>
> <div>
>         <p>it works in html code: ▼ </p>
>         <p ui:field="expandable">i can use it in constructor: </p>
>         <p class="{style.expandable}">but it doesn't work with css: </p>
> </div>
>
> in element constructor:
> @UiField ParagraphElement expandable;
> public BuggyStyled() {
>         setElement(uiBinder.createAndBindUi(this));
>         expandable.setInnerText( expandable.getInnerText() + "▼" );
>
> }
>
> in resulting html page header i can see generated style:
> .GDLTKVSDE:after{content:" ";}
> all project files are encoded in UTF-8
>
> is where any solution or workaround?

First, I think you should file a bug.

As for a workaround, have you tried using \25BC instead of ▼ in the
ui:style?

Does it work if you use an external file, i.e. <ui:style
source="mystyle.css" /> ? (this could help debug the issue)

-- 
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.

Reply via email to