1. #61
    Sencha User Iveco's Avatar
    Join Date
    Aug 2007
    Location
    Germany
    Posts
    70
    Vote Rating
    1
    Iveco is on a distinguished road

      0  

    Default


    Just came in handy, thank you very much for this extension!

    Exactly what I was looking for now, as always great community

    Regards
    German EXT-User and -Lover :-).

  2. #62
    Ext User
    Join Date
    Apr 2008
    Posts
    57
    Vote Rating
    0
    azbok is on a distinguished road

      0  

    Default First panel is collapsed, found a solution

    First panel is collapsed, found a solution


    This row layout seems great so far (once I figured the first panel collapse problem)! I'm using Ext 2.2.

    Initial go at it:
    Code:
    new Ext.Panel({
          id       : 'panel-id',   
          title    : 'This Is The Title',
          layout   : 'row-fit',
          items    : [
           { xtype: 'panel', height: 100, title: 'Title 1', html: 'height = 100px' }, 
           { xtype: 'panel', height: 150, title: 'Title 2', html: 'height = 150px' } 
          ]
    });
    Solution:
    Code:
    new Ext.Panel({
          id       : 'this-is-the-id',   
          title    : 'This Is The Title',
          layout   : 'row-fit',
          items    : [
           { xtype: 'panel', id: 'NEED-ID1', height: 100, title: 'Title 1', html: 'height = 100px' }, 
           { xtype: 'panel', id: 'NEED-ID2', height: 150, title: 'Title 2', html: 'height = 150px' } 
          ]
    });
    The solution is to use an id for each panel. I have a feeling somewhere in the component construction phase, if there's no id, the collapsed flag gets set to true!

    This is actually the 2nd time I've ran into this problem, it's not specific to this row layout module, I think it's a general Ext 2.2 thing.

    If in doubt, put in an ID!!

  3. #63
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    528
    Vote Rating
    0
    Eric24 is on a distinguished road

      0  

    Default Vote for RowFitLayout to replace ExtJS Fit Layout

    Vote for RowFitLayout to replace ExtJS Fit Layout


    Great extension!

    From my perspective, it seems like this should just be the standard "fit" layout. With a single item and no height config, it does the same thing as "fit" does now, so it can be dropped in without affecting existing "fit" implementations. Adding additional items and/or height configs seamlessly extends basic "fit" functionality to "row-fit" functionality.

    --Eric

  4. #64
    Ext User
    Join Date
    Nov 2008
    Posts
    14
    Vote Rating
    0
    cmschick is on a distinguished road

      0  

    Default Resizing the splitter bar

    Resizing the splitter bar


    Is anyone else seeing this issue. In both IE7 and FF 3.0.6 when I resize with the spitter a dark gray DIV shows up that is the size of the "element to drag". Its very hokey and I was hoping someone had already addressed this.

    At any rate I'll be looking into to it to see what I can find.
    Attached Images

  5. #65
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    sircyaj is on a distinguished road

      0  

    Default


    Very nice! Exactly what I wanted. Thanks!

  6. #66
    Ext JS Premium Member
    Join Date
    Aug 2008
    Posts
    40
    Vote Rating
    0
    jnadler is on a distinguished road

      0  

    Default Problems in Safari

    Problems in Safari


    I had some significant problems in Safari with the latest version of this component (I had been using an older version).

    I have a TabPanel with dynamically added tabs that all contain a row-fit layout. When adding a new tab, all the other tabs content disappears. The tabs are still there, they are just visually empty (Safari only, works fine in FF).

    I resolved this problem by reverting just the onLayout() method to the version of that method from an older version of this extension.

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

      0  

    Default


    Can you post a test case?

  8. #68
    Ext JS Premium Member
    Join Date
    Aug 2008
    Posts
    40
    Vote Rating
    0
    jnadler is on a distinguished road

      0  

    Default


    Extracting a test case from my massive app would be a chore - instead I'd like to isolate the problem a bit more and maybe I can just suggest a fix.

    Great component by the way. This is way more useful than some of the things that are actually part of ExtJS in my opinion. They should include it in the framework.

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

      0  

    Default


    Very useful layout indeed, should be polished as much as possible.

  10. #70
    Ext JS Premium Member
    Join Date
    Aug 2008
    Posts
    40
    Vote Rating
    0
    jnadler is on a distinguished road

      0  

    Default


    Here's what I found, making this change in onLayout resolved my problems and it seems to be working with both FF and Safari as expected:

    Code:
                c.setSize({
                    width: targetSize.width,   // - c.getEl().getMargins('lr'),   <-- remove the subtraction
                    height: absH
                });
        
                absHeightLeft -= absH;
            }
    I still have a minor issue related to the one the guy above has where he gets a big gray box - in some cases a component in my rowfitlayout grows a few pixels each time the screen is resized. If/when I fix that one I'll post another fix here.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar