java.lang.ClassCastException setting :font on styled-text #81

Closed
ghost opened this Issue Mar 29, 2012 · 1 comment

Projects

None yet

1 participant

@ghost

I had trouble setting the :font on a styled-text.

It looks like core.clj:1455
:font (.addAttribute style StyleConstants/FontFamily (seesaw.font/to-font v))
is sending a Font where addAttribute expects a String.

Sorry for reporting such a trivial thing, love the library!

@daveray daveray added a commit that referenced this issue Mar 30, 2012
@daveray Tests and fix for issue #81. :font in a style is the name of a font *…
…family* not a font. So, treat it as such.
5199d1f
@daveray
Owner

Fixed. Thanks for the report and sorry about any inconvenience. :)

@daveray daveray closed this Mar 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment