Results 1 to 3 of 3

Thread: How to bring panel to front?

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    17
    Vote Rating
    0
      0  

    Question Unanswered: How to bring panel to front?

    Hi,

    I have multiple draggable panels constrained inside a container.

    I would like to bring to front (over all others) the currently dragged panel, is that possible?

    Thank you in advance

    PS: "floating: true" brings them completely on top over other containers which is not acceptable unless there is a way to keep them only in their parent container.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,416
    Answers
    3899
    Vote Rating
    1270
      0  

    Default

    You can update the z-index when they are dragged and reset it when it is dropped.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    17
    Vote Rating
    0
      0  

    Default

    I was expecting to somehow be able to hook indo zindex manager but if it is not possible it seem like I'll have to create another zindex manager

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •