Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 1 Support › Settings hoverEnabled on MouseArea (Windows)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6673

    s4ge

    Since i wasn’t able to find an answer to my problem, i decided to ask here with a fresh new thread.

     

    a pretty simple scenario, actually:

                    Text {
                        text: "Hover me!"
                        font.family: "Arial"
                        font.pointSize: 16
    
                        MouseArea {
                            anchors.fill: parent
                            hoverEnabled: true
    
                            onEntered: {
                                parent.color = "#ffffff"
                            }
    
                            onExited: {
                                parent.color = "#000000"
                            }
                        }
                    }

    As you can see, all i want is that the text color changes when i hover it. However, it works only when i’m holding down my left mouse button. Since i’m pretty new to Qt, i’ve no idea where the problem could be. I googled all day to find an answer, but everything leads me to the “set hoverEnabled: true” solution, which i’m already using. The solution should, of course, only work on desktops (like Windows)

    #6677

    Christian
    Felgo Team

    Hi s4ge,

    unfortunately the hoverEnabled properyt is currently not supported due to the underlying renderer we are using. It will be supported, however, in the upcoming major Felgo update v2.0 expected mid 2014.

    Cheers, Chris

    #6691

    s4ge

    Thank you, Christian

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.