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. Remove element from Row when changing states
Forum Updated to NodeBB v4.3 + New Features

Remove element from Row when changing states

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 575 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.
  • P Offline
    P Offline
    plerner
    wrote on last edited by
    #1

    Hello everyone, my first post here. I am learning some Qt Quick and got stuck with something, I hope some of you may help me: Is it possible take an element out, from within a Row element when changing states?

    I have made two icons using a Rectangle element with an image inside. At first, at the default state, they appear centered in the screen, i'd like to use a centered Row for that. But when you click on one of them, I want the clicked one to shrink and move to the upper left corner of the screen (with an animation to see the movement). The other will just became transparent and disappear. How can I make the clicked one became a stand alone element, outside the Row?

    Thanks for any help,

    Pablo

    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