Results 1 to 4 of 4

Thread: Knowing a Panel is floated-expanded instead of expanded

  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    6
    Vote Rating
    0
      0  

    Default Knowing a Panel is floated-expanded instead of expanded

    I'm using a (Tree)panel as the 'west' item of a viewport with a border layout.
    The panel is collapsible and stateful.


    The very first time the panel is expanded clicking on the title bar to make it floating, getState() is called (even if I'm just listening to 'expand' end 'collapse' events), getCollapsed() tells me it is expanded but I have no way to know it is a floating expansion (and I don't want to save this kind of expansion in the state).


    I had to read the internal, undocumented, property floated to save the proper state.


    It would be appropriate if there was a documented, reliable, accessor to read such property.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506
    Vote Rating
    296
      0  

    Default

    I'm probably missing something, but how about isFloating?

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    6
    Vote Rating
    0
      0  

    Default

    Negative, isFloating() always returns false

  4. #4
    Sencha User
    Join Date
    Sep 2011
    Posts
    574
    Answers
    59
    Vote Rating
    74
      0  

    Default

    I believe it is not floating, but it is animating.

Posting Permissions

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