1. #1
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default Split regions

    Split regions


    Will it possible to change regions to split regions on the fly? In Ext3 it wasn't, so you have to create it as splitregion and use some magic to hide it again.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,798
    Vote Rating
    603
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    The border layout is just a combo of vbox/hbox layouts. In short, yes!
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    sounds great. Does this means that we don't have regions anymore?
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,798
    Vote Rating
    603
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Border layout still exists, but you don't need to use it. It's just there for convenience.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  5. #5
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    No, you cannot change the border layout's regions on the fly.

    It analyzes what regions you configure it with and creates the minimum set of box layouts to do that.

    So if you configure it with north, center and south, it will just create a VBOX layout with your three items in.

    So you cannot then add a west or east.

    Likewise if you configure it with west, center and east, it will create an HBOX layout.

    If you have (north or south) and (east or west) then it will create a VBOX layout, and the center will be a shadow Container configured as an HBOX layout.

    Basically, it's only there to support legacy apps which already use it. The Box layouts are more powerful if you use them directly.

  6. #6
    Sencha User
    Join Date
    Oct 2010
    Posts
    9
    Vote Rating
    1
    apfister is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    The Box layouts are more powerful if you use them directly.
    Do you mean you can/should use Box layouts instead of Border layouts? If so, can you provide a simple example of this? Thanks!

  7. #7
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,798
    Vote Rating
    603
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Look at examples/border.html
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  8. #8
    Sencha User
    Join Date
    Oct 2010
    Posts
    9
    Vote Rating
    1
    apfister is on a distinguished road

      0  

    Default


    if i'm looking at the right example, all of those layout config options use "border" and have regions associated with them. so i take it that's still the recommended approach...?

  9. #9
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Code:
    {
        layout: {
            type: 'hbox',
            align: 'stretch'
        }
    }
    Box layout. Not border.

Similar Threads

  1. Split Button without split?
    By NotChris in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 23 Apr 2009, 6:39 AM
  2. Regions within regions
    By SilverDev in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 5 May 2008, 5:53 AM
  3. Linking to regions
    By steffenk in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 17 Jul 2007, 12:43 AM
  4. floatable regions bug
    By gedw99 in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 17 Jun 2007, 2:21 PM
  5. Toggle between two regions
    By MacPrawn in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 29 Mar 2007, 3:44 AM

Thread Participants: 3

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi