text shadow effect on controls
Tom Schindl
tom.schindl at bestsolution.at
Mon May 28 05:53:58 PDT 2012
Just to note. DropShadow is documented
http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html#typeeffect
Tom
Am 28.05.12 12:02, schrieb Pedro Duque Vieira:
> Hi,
>
> To set drop shadows on text of controls, Jasper used an undocumented javafx
> css feature on his blog post:
> http://fxexperience.com/2011/12/styling-fx-buttons-with-css/comment-page-1/#comment-59982
>
>
> The syntax was:
> <control id> Text
> {
> -fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.8) , 0, 0.0 , 0 , -1
> );
> }
>
> However this doesn't seem to work in 2.1. How can I add text shadow effects
> on controls on 2.1?
>
--
B e s t S o l u t i o n . a t EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1 A-6020 innsbruck fax ++43 512 935833
http://www.BestSolution.at phone ++43 512 935834
More information about the openjfx-dev
mailing list