if backcolor in text-based styles (txt lbl h1 etc.) is not specified,
then the gradmul effect is ignored...
is the same with any rebol/view 1.2.8 or newer
works fine (or in another way...) with view 1.2.1
eg.
view layout [
backcolor coal
lbl "not working" 200x22 yellow effect [gradmul 1x0 0.0.0
255.255.255]
text "not working" 200x22 yellow effect [gradmul 1x0 50.50.50
128.128.128]
h3 "not working" 200x22 yellow effect [gradmul 1x0 50.50.50
128.128.128]
lbl "working" 200x22 black orange effect [gradmul 0x0 0.0.0
255.255.255]
button "working" mint effect [gradmul 1x0 50.50.50 128.128.128]
scroller 200x22 sky effect [gradmul 1x-1 16.16.16 196.128.128]
]
cheers
alcar a écrit :
Since 1.2.8, the effects are not applied to the face behind the face
where the effect is, it is applied only to the face itself.
So, without color in the face, the 'gradmul effect does nothing.
To be able to do that again, you should add the 'merge keyword at the
beginning of the effect block.
Test this example with 1.2.1 and new one:
view layout [
backdrop yellow
text "without merge" effect [gradmul 1x0 255.255.255 50.50.50]
text "with merge" effect [merge gradmul 1x0 255.255.255 50.50.50]
]
'merge keyword is ignore by View 1.2.1, so it works with all versions.
Cheers
Didier
Didier