Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Vote Rating
    0
    sanova is on a distinguished road

      0  

    Default Fit Grids in TabPanel

    Fit Grids in TabPanel


    Hi,

    i have a window with form in the top and tabpanel in the bottom.
    Each tab in the TabPanel has a grid that i can not fit into as you can see in the attached image. How can i do that?

    I give height to Tabpanel: 400 and set height of grids to '100%'. But it doesn't work.
    Attached Images

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,519
    Vote Rating
    813
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    If the grid is a direct child of the tab panel then you do not need to set the width or height of the grid. Card layout will tell it to fit 100%.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Vote Rating
    0
    sanova is on a distinguished road

      0  

    Default


    Thanks for reply.
    I also tried that. No size setttings for grid, but no changes.

    I can say that the top of window is container for the two fieldset you can see in the image. If i remove container and put only fields of form in the top layout is ok.
    But it would work also with fields form in container. Form container and tabPanel are distinct objects, so i don't know how the first can modify the second one.

    Any other advice?

  4. #4
    Sencha User
    Join Date
    May 2010
    Location
    Kiev, Ukraine
    Posts
    134
    Vote Rating
    7
    khmurach is on a distinguished road

      0  

  5. #5
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Vote Rating
    0
    sanova is on a distinguished road

      0  

    Post


    khmurach, thanks very much.

    Window -> layout: border
    Form -> region: north
    TabPanel -> region: center

    Your suggestion works for me very well. Layout is ok. I like also layout of your form: it has just one border. I will try to set my form as yours

    Thanks very much again.

Thread Participants: 2