This content has been marked as final. Show 4 replies
Has noone a solution for this problem?
I'm not sure where you want to go with your styling of your button, but those links can help you a lot with custom css styling:
Unfortunately that is not what i am looking for.
I need something like.
I though that should be no problem but it seems it is just possible with pictures :(
-fx-effect: innershadow( three-pass-box , linear-gradient(...) , 5 , 0.5 , 0 , 0 );
I don't think this is possible.
--> from the documentation, you'll see it expecting a number value.
A high-level effect that renders a shadow inside the edges of the given content.
innershadow( <blur-type> , <color> , <number> , <number> , <number> , <number> )
<blur-type> = [ gaussian | one-pass-box | three-pass-box | two-pass-box ]
<color> The shadow Color.
<number> The radius of the shadow blur kernel. In the range [0.0 ... 127.0], typical value 10.
<number> The choke of the shadow. The choke is the portion of the radius where the contribution of the source material will be 100%. The remaining portion of the radius will have a contribution controlled by the blur kernel. A choke of 0.0 will result in a distribution of the shadow determined entirely by the blur algorithm. A choke of 1.0 will result in a solid growth inward of the shadow from the edges to the limit of the radius with a very sharp cutoff to transparency inside the radius. Values should be in the range [0.0 ... 1.0].
<number> The shadow offset in the x direction, in pixels.
<number> The shadow offset in the y direction, in pixels.
Maybe you can try with multiple borders on the same side..
Edited by: 981077 on 15-jan-2013 6:45