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?
Forum Updated to NodeBB v4.3 + New Features

[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 1 Watching
  • 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 12 Mar 2014, 04:29 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
    • P Offline
      P Offline
      p3c0
      Moderators
      wrote on 12 Mar 2014, 06:06 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 13 Mar 2014, 01:28 last edited by
        #3

        thanks a lot! it works.;)

        1 Reply Last reply
        0

        3/3

        13 Mar 2014, 01:28

        • Login

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