Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [solved]how to customize menu position for popdown menu button in qml?
QtWS25 Last Chance

[solved]how to customize menu position for popdown menu button in qml?

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    ledunkang
    wrote on last edited by
    #1

    what i need is to show the button menu at right side of the button.
    any hint will be appreciated!

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      Try using the __xOffset and __yOffset property of Menu. Calculate its value as per the mouse position on button click.

      157

      1 Reply Last reply
      0
      • L Offline
        L Offline
        ledunkang
        wrote on last edited by
        #3

        thanks a lot! it works.;)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved