Results 1 to 3 of 3

Thread: pin unpin a floating panel

  1. #1
    Sencha User
    Join Date
    Dec 2015
    Posts
    118
    Answers
    12

    Default Answered: pin unpin a floating panel

    Hello,

    Does anyone know of an example of pin/unpin floating panel?

    I just found out floating property does not have a setter, so we can't just switch it on and off to dock or float a panel inside another panel.


    Thank you

  2. Alright after a few googling, I opted to use the method where there are 2 containers to move in and out the panels.

    https://fiddle.sencha.com/#view/editor&fiddle/2ba0

    It seems a little bit slow(especially when the inner panel is a little bit complex) but for the lack of better alternative I would go with this for now.

    Cheers,

  3. #2
    Sencha User
    Join Date
    Dec 2015
    Posts
    118
    Answers
    12

    Default

    Alright after a few googling, I opted to use the method where there are 2 containers to move in and out the panels.

    https://fiddle.sencha.com/#view/editor&fiddle/2ba0

    It seems a little bit slow(especially when the inner panel is a little bit complex) but for the lack of better alternative I would go with this for now.

    Cheers,

  4. #3
    Sencha Premium User dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,246
    Answers
    26

    Default

    ah you mean dock a panel, pinning a panel would pin it where it is, but make it unable to be moved from it's x/y or expanded/collapsed position! ;-)
    Cloud Application Architect

    Sencha Specialist / Sencha MVP / Sencha Technical Trainer
    ExtJs Developer + Contributor since 0.2.2 - Champion of the per developer license.

Similar Threads

  1. Replies: 1
    Last Post: 6 May 2014, 9:05 AM
  2. Floating Panel, expands instead of floating ..
    By Tatonka in forum Ext: Q&A
    Replies: 6
    Last Post: 28 Aug 2013, 6:15 AM
  3. showBy() panel - Position the floating panel closer to the button
    By samseena in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 29 Nov 2012, 8:59 PM
  4. Replies: 1
    Last Post: 21 Oct 2010, 3:47 PM

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
  •