Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. transition? animation? other?
Qt 6.12 LTS is out! See what's new in the release blog

transition? animation? other?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 628 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Hi all -

    Sorry for the lame subject line, but that's kind of where I am now.

    I've implemented a Drawer that slides open from the right and covers 70% of the main window. The Drawer contains a StackView. The stack seems to be working, but when I push a second item onto the stack, the first item "exits" by sliding to the left (outside the Drawer) before disappearing.

    Is this expected behavior, or have I done something wrong by using a StackView within a Drawer? If it's OK to do a StackView within a Drawer, any suggestions on how to eliminate this undesired transition?

    Thanks...

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Drooke
      wrote on last edited by
      #2

      It is the expected behaviour for a stackview, however you may be able to circumvent your issue by setting clip:true for your drawer. This way the stackview (or any drawer children) can not be drawn outside of it.

      1 Reply Last reply
      1
      • mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #3

        @Drooke beautiful - that took care of it. Thanks...

        1 Reply Last reply
        1

        • Login

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