Results 1 to 10 of 228

Thread: Sliding Side Menu

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Sencha User
    Join Date
    Jan 2011
    Posts
    10
    Vote Rating
    0
      0  

    Default Use with navigation view

    Anyone know of a way to keep the slide button at the left most position when using with a navigation view? I tried modifying the slide button add to be an insert at index 0, but that seemed to have no effect and the back button still appears first in the navigation bar.

    This is my modified code:
    Code:
    createSlideButton: function(el, config) {        
            var me = this,
            parent = el.down(config.selector);
            if (parent) {
                return parent.insert(0, Ext.merge(me.slideButtonDefaults, config));
                //return parent.add(Ext.merge(me.slideButtonDefaults, config));
            }
            
            return false;
    },
    Last edited by aeiz; 19 Oct 2012 at 6:38 AM. Reason: added code snippet

Posting Permissions

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