Your Digital Media Has Never Looked So Good

Topic Author
Posts: 29
Joined: Tue May 07, 2013 11:55 am

Change focusedIconUri color

Tue May 23, 2017 6:02 pm

Is there a way to alter the color tint for the focusedIconUri parameter of the Scene Graph Button node? It applies a dark grey tint to the icon when the button has focus and it's clashing with our designs. 

The documentation doesn't list any way to override this. I'm hoping that's just a simple oversight. 

The button markup itself is pretty straightforward:
 iconUri = "pkg:/images/Button_Icon_General.png"
 focusedIconUri = "pkg:/images/Button_Icon_General.png"

Thanks in advance.
Posts: 51
Joined: Tue Jun 14, 2016 4:03 am

Re: Change focusedIconUri color

Thu Jul 18, 2019 8:13 am


Did you ever figure out how to do this?
User avatar
Posts: 169
Joined: Thu Aug 06, 2015 11:15 pm

Re: Change focusedIconUri color

Fri Jul 19, 2019 8:28 am

<button id="idMyButton" ... >

button ="idMyButton")
button.opacity = 0.8

Give the button an id in the XML you can lookup in the brightscript code. Then assign it an opacity.
That will basically act like the missing "blendcolor" you are looking for.

Who is online

Users browsing this forum: No registered users and 8 guests