Skip to content

Enable HoverEffects #32

Description

@jetrotal

QmlOnline doesn't have native hover behavior on buttons, menubars, etc.

I was checking a Forked Repo, called Qaterial, when I found this file:
https://github.com/OlivierLDff/QaterialOnline/blob/master/src/main.cpp

There they added:

// useHoverEffects is disabled for wasm
    const auto styleHints = QGuiApplication::styleHints();
    styleHints->setUseHoverEffects(true);

I guess this is a fix to the lack of hover effects.
They also included many more fixes to make the wasm experience closer to the desktop one, maybe it's worth to check it out.

Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions