1. #51
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    NL
    Posts
    607
    Vote Rating
    1
    mdissel is on a distinguished road

      0  

    Default


    Quote Originally Posted by SamuraiJack1 View Post
    I've fixed a bug, concerning sizing of elements with horizontal margins and published new version in repository:

    http://extjs-ux.org/docs
    For further updates please create patches against the repository last revision.
    Windows users can't do a checkout /update anymore, because there's a uppercase Layout directory en lowercase layout directory...

  2. #52
    Sencha - Community Support Team SamuraiJack1's Avatar
    Join Date
    May 2008
    Posts
    550
    Vote Rating
    3
    SamuraiJack1 will become famous soon enough

      0  

    Default


    Thanks for pointing - I've republished Carousel under Ext.ux.layout namespace

    Documentation will be updated maximum in 2 hours.

  3. #53
    Ext User
    Join Date
    Sep 2008
    Posts
    24
    Vote Rating
    0
    bluefox is on a distinguished road

      0  

    Default


    Has anyone used this extension with 2.2? I have a very simple layout and it presents a few problems:
    1. I'm not able to resize the panels
    2. When collapsing the panels, I'm not able to uncollapse them again.

    Code:
    Ext.onReady(function(){
    
      var extra = '<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>...';
    
      new Ext.Viewport({
       layout: 'row-fit',
       id: 'container',
       items: [
          { xtype: 'panel', title: "I'll take some too...", html: "...if you don't mind. I don't have a <tt>height</tt> in the config.<br>Btw, you can resize me!"+extra, id: 'panel3', autoScroll:true,  collapsible: true },
          { xtype: 'panel', id: 'slider', height: 5 },
          { xtype: 'panel', title: "Let me settle too",
            html: "Since there are two of us without <tt>height</tt> given, each will take 1/2 of the unallocated space (which is 50%), that's why my height initially is 25%."+extra, autoScroll: true,  collapsible: true }
        ]
      });
    
      var split = new Ext.SplitBar("slider", "panel3", Ext.SplitBar.VERTICAL, Ext.SplitBar.TOP);
      split.setAdapter(new Ext.ux.layout.RowFitLayout.SplitAdapter(split));
    
    });
    Thoughts?

  4. #54
    Sencha - Community Support Team SamuraiJack1's Avatar
    Join Date
    May 2008
    Posts
    550
    Vote Rating
    3
    SamuraiJack1 will become famous soon enough

      0  

    Default


    Quote Originally Posted by bluefox View Post
    Has anyone used this extension with 2.2? I have a very simple layout and it presents a few problems:
    1. I'm not able to resize the panels
    2. When collapsing the panels, I'm not able to uncollapse them again.

    Code:
    Ext.onReady(function(){
    
      var extra = '<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>...';
    
      new Ext.Viewport({
       layout: 'row-fit',
       id: 'container',
       items: [
          { xtype: 'panel', title: "I'll take some too...", html: "...if you don't mind. I don't have a <tt>height</tt> in the config.<br>Btw, you can resize me!"+extra, id: 'panel3', autoScroll:true,  collapsible: true },
          { xtype: 'panel', id: 'slider', height: 5 },
          { xtype: 'panel', title: "Let me settle too",
            html: "Since there are two of us without <tt>height</tt> given, each will take 1/2 of the unallocated space (which is 50%), that's why my height initially is 25%."+extra, autoScroll: true,  collapsible: true }
        ]
      });
    
      var split = new Ext.SplitBar("slider", "panel3", Ext.SplitBar.VERTICAL, Ext.SplitBar.TOP);
      split.setAdapter(new Ext.ux.layout.RowFitLayout.SplitAdapter(split));
    
    });
    Thoughts?
    You can try to patch it - it will be a good excursion to Ext internals for you

  5. #55
    Ext User mviens's Avatar
    Join Date
    Jun 2007
    Posts
    20
    Vote Rating
    0
    mviens is on a distinguished road

      0  

    Default


    bluefox,

    I am having the same issue as you with not being able to expand them panels once they have been collapsed. I can resize mine, but something is "weird" with the splitter. Hopefully, someone more familar with this code can reolve the issue with Ext 2.2.

    Mike V.

  6. #56
    Ext User
    Join Date
    Jul 2008
    Posts
    30
    Vote Rating
    0
    dmcclean is on a distinguished road

      0  

    Default


    I seem the same 2.2 resize issue with IE, but not firefox. Shame, it was
    really good with 2.1. I will have to remove it from my app if it is not resolved.

  7. #57
    Sencha - Community Support Team SamuraiJack1's Avatar
    Join Date
    May 2008
    Posts
    550
    Vote Rating
    3
    SamuraiJack1 will become famous soon enough

      0  

    Default


    I've made some fixes to this ux recently and code clean-up - you can try with the latest version from repository:
    http://extjs-ux.org/docs/?class=Ext....t.RowFitLayout

    If the bug still persists please upload the test case to ftp://sandbox.extjs-ux.org - I'll try to fix it.

  8. #58
    Sencha - Community Support Team SamuraiJack1's Avatar
    Join Date
    May 2008
    Posts
    550
    Vote Rating
    3
    SamuraiJack1 will become famous soon enough

      0  

    Default


    Fixed bug with collapsing/expanding childs.

    Latest version in repository:
    http://extjs-ux.org/docs/?class=Ext....t.RowFitLayout

  9. #59
    Ext User
    Join Date
    Jul 2008
    Posts
    30
    Vote Rating
    0
    dmcclean is on a distinguished road

      0  

    Default


    Thank you! It works great now.

    Regards,
    Don McClean

  10. #60
    Ext User
    Join Date
    Dec 2007
    Location
    italy
    Posts
    120
    Vote Rating
    0
    tarini is on a distinguished road

      0  

    Default


    Hi, thanks for your extension...

    I'm using Ext.ux.layout.RowFitLayout.SplitAdapter but it doesn't looks like Ext.SplitBar (used in a border layout panel).
    Using firebug I discovered that:
    • Ext.SplitBar is a simple DIV that is sibling of its resizable DIVs and it styles itself using x-layout-split css class
    • Ext.ux.layout.RowFitLayout.SplitAdapter is composed by 3 DIVs nested each other and styles itself using x-panel css class

    Is there a reason for all??

    thanks