Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: EVOScript

From: g:santilli:tiscalinet:it at: 27-Nov-2002 11:04

Hi Anton, On Wednesday, November 27, 2002, 7:11:59 AM, you wrote: A> I think Gabriele means that using colorize after A> extend will stop extend working. A> But if this is true he is wrong. :) I wasn't saying that. It's just that the Btn style does not add EXTEND to the effects block if you have already provided an effect block. Have a look at Btn/init... (I posted that, did you miss it?) A> Your original problem I think was that extend needs A> two pair types (e.g 1x2 is a pair!). A> The first pair is the offset to start the extending. A> The second pair specifies how much to extend. RT is not using it like that, in Btn/init... A> Another problem is that by using img/size/2 you A> actually specified img/size/y, that is the height of That's RT, not me. And it appears to work. :-) A> I am sure you meant img/size / 2, which would have A> given half the size of the image, ie. the centre. I can confirm you that my version of REBOL/View has the following code in the init block for the Btn style: effect: reduce ['extend image/size/2] Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: