Skip to content

Changing some element when moving the cursor over it #5229

Closed Answered by andydotxyz
RomanShnurov asked this question in Q&A
Discussion options

You must be logged in to vote

Buttons already have a hover effect on them - just like Check / Radio and other input types.

With regards to your code snippet you have created two buttons, your one and an embedded one. Don't copy a new one in on the constructor. (i.e. remove the line including *widget.NewButtonWithIcon(label, normalIcon, tapped), because you are not manipulating the same button that is rendered).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RomanShnurov
Comment options

Answer selected by RomanShnurov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants