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

[REBOL] Re: Oval buttons

From: petr:krenzelok:trz:cz at: 5-Sep-2002 18:29

Andy Finkel wrote:
>Hi: > >I'm still working away on my rebol scripts. Sometimes I think its >getting easier, then I get stuck on some simple thing... > >I'm trying to make oval buttons, with their background the same color as >the background of the rest of the face. > >If I do > > view layout [button 120x120 "test" with [effect: [0x1 oval 255.0.0] ] ] > >I would expect (at least, according to a line in one of the tutorials) >to get an oval button on a background of red. > >Instead I get an oval button on a field of black. (with a blue edge) > >If I do > > view layout [button 120x120 "test" with [effect: [0x1 oval 0.255.255 ]] >] > >I get an oval button on a field of white. > >If I specify an edge > > view layout [button 120x120 "test" with [effect: [0x1 oval] edge: >[color: 255.0.0 ] ] ] > >My edge is the color I specify, but the oval button is on a black >background. > >If I specify both edge and oval color > >view layout [button 120x120 "test" with [effect: [0x1 oval 0.255.255 ] >edge: [color: 255.0.0 ] ] ] >
I am not sure if it is what you are asking for, but few latest View releases changed the way transparency works by default. Try putting 'merge in the beginning of effect block .... -pekr-