Fyne: Add some hover effect to widgets

Created on 20 Mar 2019  路  9Comments  路  Source: fyne-io/fyne

What about adding some nice hover effect on some of the widgets like the button for the next realease?
As you know, it is when mouse is over some of the widgets, the control background darkens or ligthens.

As they are, the widgets looks fine & sharp but the feel a bit joyless ;-)

enhancement help wanted

All 9 comments

This is a great suggestion, thanks.
One reason we have held off is that the core toolkit is designed to be platform independent.
What you have described sounds like a desktop specific feature - do you think it has an equivalent on mobile or mouse-less devices as well?

You right.
Btw on desktop I can see nucular (repo) doing it.
It would just be nice to have, I fully agree there are other items far more important (like the scroller for content that goes outside the visible screen).

I agree, a nice to have. Let's keep an eye on other things and maybe pull this in or open it for someone to contribute.

For the scrolling though you can use widget.ScrollContainer - that can contain any item that is larger than the space you would like it to occupy...

Ok, I did not know. Based on the demo I supposed it was not possible.

It is relatively recent - in the demo under "Widgets" -> "Scroll". Can also be seen in the "Input" panel from fyne_demo.

I am adding a desktop extension for mouse hover events in #141, perhaps after that we could add support for hover visuals for when applications run on a desktop platform?

That would be great.

This is available for testing on develop branch https://youtu.be/9klh7PinQ2A

Nice !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Nigh picture Nigh  路  5Comments

andydotxyz picture andydotxyz  路  9Comments

Geo25rey picture Geo25rey  路  7Comments

andydotxyz picture andydotxyz  路  3Comments

pbarnum picture pbarnum  路  6Comments