can newButton support a "pressed in" image for ON, separate to OFF?

Is there is a way with widget.newButton to have a separate “pressed in” image for ON, separate to OFF?  

That is, separate to a hover-over image.  So overall then you might have potentially:

  • off image

  • on (pressed in) image

  • hover over image (or perhaps not even use hover over)

Is there a way to do this with widget v2?   (or do I have to drop use of widgets and go to sprites and do myself)

Hi Greg,

Do you mean, the button stays “locked” in the “down” position? Like a toggle button, versus a typical button?

Brent

That’s it Brent.   Is it possible?  (or do I need to stick with my current non-widget button approach using sprites)

Hi Greg,

I suppose it’s not “ideal”, but how about using a toggle button (switch) and use your own image up/down assets in place of the standard checkbox? Otherwise, maybe a non-widget solution is easier.

Regards,

Brent

hadn’t thought of this - thanks Brent - actually is there a process to add a feature/enhancement idea re this one in the widgets area?

Actually, what you are wanting is a switch not a button.  Buttons are not supposed to hold state, but switches are.

Our switches by default are not skinned like buttons, but since we let you make your switches look however you want, you can make them look like buttons.

Hi Greg,

Do you mean, the button stays “locked” in the “down” position? Like a toggle button, versus a typical button?

Brent

That’s it Brent.   Is it possible?  (or do I need to stick with my current non-widget button approach using sprites)

Hi Greg,

I suppose it’s not “ideal”, but how about using a toggle button (switch) and use your own image up/down assets in place of the standard checkbox? Otherwise, maybe a non-widget solution is easier.

Regards,

Brent

hadn’t thought of this - thanks Brent - actually is there a process to add a feature/enhancement idea re this one in the widgets area?

Actually, what you are wanting is a switch not a button.  Buttons are not supposed to hold state, but switches are.

Our switches by default are not skinned like buttons, but since we let you make your switches look however you want, you can make them look like buttons.