Graphics Bug

Discussion about LiveCode Global Jam events and activities

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Graphics Bug

Postby netdzynr » Fri May 23, 2014 10:50 am

On OS X 7dp4, the "spread" property of InnerShadow and InnerGlow graphic effects operates in the wrong direction -- increasing the spread value causes the the glow effect to move outward, away from the center of the graphic, instead of moving inward toward the center.

The "size" setting of both effects was fixed a ways back and works correctly.
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
netdzynr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 59
Joined: Sat Apr 08, 2006 6:04 am

Re: Graphics Bug

Postby benjibeaumont » Fri May 23, 2014 11:05 am

Hi Scott,

Thanks for this. I've reported it as a bug here:

http://quality.runrev.com/show_bug.cgi?id=12483

It looks like in the rush to fix other bugs we introduced this. Should be an easy fix and sorted today.

Warm regards,

Ben
Ben Beaumont | Runtime Revolution
benjibeaumont
Livecode Staff Member
Livecode Staff Member
 
Posts: 51
Joined: Tue Jun 03, 2008 10:31 am

Re: Graphics Bug

Postby capellan » Fri May 23, 2014 4:02 pm

Just for curiosity,
How could I change the color of innerGlow and outerglow?

I have not found a way to do change this, so it's always black.
capellan
 
Posts: 264
Joined: Wed Aug 15, 2007 11:09 pm

Re: Graphics Bug

Postby LCNeil » Fri May 23, 2014 4:10 pm

Hi Capellan,

The properties of the various graphics effects are stored as arrays. If you wish to change the color of the "outer glow" of a button your would have to use something like the following-

Code: Select all
set the outerGlow[color] of button "myButton" to blue

Kind Regards,


Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
LCNeil
Livecode Staff Member
Livecode Staff Member
 
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Graphics Bug

Postby Simon » Fri May 23, 2014 5:27 pm

Hi Capellan,
I got hit by this one as well.
Not sure if it's the same problem as you are having but just clicking the tick box is not enough (odd UI) you have to highlight the line (click the words) to get the color selection to come up.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 3900
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: Graphics Bug

Postby capellan » Fri May 23, 2014 7:01 pm

Simon wrote:Not sure if it's the same problem as you are having but just clicking the tick box is not enough (odd UI) you have to highlight the line (click the words) to get the color selection to come up.


Oh. This works!
Many Thanks.

:D
capellan
 
Posts: 264
Joined: Wed Aug 15, 2007 11:09 pm

Re: Graphics Bug

Postby goharika » Tue Sep 22, 2015 6:48 pm

Hi I need to know how you are removing grafic effect.
For example I am checking statement and if it is right I am setting outer glow, and want to remove this effect in else statement. How?
goharika
 
Posts: 4
Joined: Fri Oct 03, 2014 12:40 pm

Re: Graphics Bug

Postby bn » Tue Sep 22, 2015 7:23 pm

Hi goharika,

welcome to the forum

try
Code: Select all
set the outerglow of grc "myName" to empty

Kind regards
Bernd
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 3141
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Graphics Bug

Postby netdzynr » Tue Sep 22, 2015 7:24 pm

goharika wrote:Hi I need to know how you are removing grafic effect.
For example I am checking statement and if it is right I am setting outer glow, and want to remove this effect in else statement. How?


set the outerGlow of graphic 1 to empty
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
netdzynr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 59
Joined: Sat Apr 08, 2006 6:04 am

Re: Graphics Bug

Postby Klaus » Wed Sep 23, 2015 1:03 pm

LCNeil wrote:
Code: Select all
set the outerGlow[color] of button "myButton" to blue

Hmmm. the engine is less forgiving with every new release, so we better use the official syntax:
Code: Select all
set the outerGlow["color"] of button "myButton" to blue

8)
Klaus
 
Posts: 9055
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany


Return to LiveCode Global Jam

Who is online

Users browsing this forum: No registered users and 1 guest

cron