alexboyer
9 years agoVisitor
Change focusedIconUri color
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:
Thanks in advance.
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:
<Button
textColor="0xFFFFFFFF"
focusedTextColor="0xFFFFFFFF"
height="60"
minWidth="150"
iconUri = "pkg:/images/Button_Icon_General.png"
focusedIconUri = "pkg:/images/Button_Icon_General.png"
>
<Label
height="60"
width="150"
text="On"
horizAlign="center"
vertAlign="center"
color="0xFFFFFFFF"
/>
</Button>
Thanks in advance.