Forums

OverviewV-Play 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
    V-Play 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 V-Play 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support