Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Interactive image
Forum Updated to NodeBB v4.3 + New Features

Interactive image

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 379 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.
  • E Offline
    E Offline
    Embvision
    wrote on last edited by Embvision
    #1

    Hello

    I would like to create an interactive image. Basically i want to keep an image on background and add some buttons on top of it. Everything is fine until i change the device resolution. Although i can manage to resize the image the buttons get missplaced.

    Any idea on how can i link the buttons to the background image?

    Thank you!

    M 1 Reply Last reply
    0
    • E Embvision

      Hello

      I would like to create an interactive image. Basically i want to keep an image on background and add some buttons on top of it. Everything is fine until i change the device resolution. Although i can manage to resize the image the buttons get missplaced.

      Any idea on how can i link the buttons to the background image?

      Thank you!

      M Offline
      M Offline
      Mammamia
      wrote on last edited by
      #2

      @Embvision
      Until we see what you are actually trying to accomplish, it is hard to comment.

      If you could share some code here that shows your issue, that would be great.

      Additionally, have you tried using Anchors or Layouts to position the button so that it automatically repositions when the resolution changes.

      1 Reply Last reply
      0
      • Kent-DorfmanK Offline
        Kent-DorfmanK Offline
        Kent-Dorfman
        wrote on last edited by
        #3

        one simple way is to overlay a grid layout of proper resolution densty and then use the placement policies to center and size the buttons in their respective cells.

        I light my way forward with the fires of all the bridges I've burned behind me.

        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