-
18 Feb 2011 3:41 AM #1
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
energlobe.de - german online magazine
-
18 Feb 2011 3:54 AM #2
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!
-
18 Feb 2011 4:26 AM #3
sounds great. Does this means that we don't have regions anymore?
vg Steffen
--------------------------------------
Release Manager of TYPO3 4.5
energlobe.de - german online magazine
-
18 Feb 2011 5:15 PM #4
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!
-
19 Feb 2011 11:47 AM #5
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.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
19 Feb 2011 4:02 PM #6
-
19 Feb 2011 4:28 PM #7
Look at examples/border.html
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
19 Feb 2011 4:32 PM #8
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...?
-
19 Feb 2011 5:59 PM #9
Box layout. Not border.Code:{ layout: { type: 'hbox', align: 'stretch' } }Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
Similar Threads
-
Split Button without split?
By NotChris in forum Ext GWT: Help & Discussion (1.x)Replies: 1Last Post: 23 Apr 2009, 6:39 AM -
Regions within regions
By SilverDev in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 5 May 2008, 5:53 AM -
Linking to regions
By steffenk in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 17 Jul 2007, 12:43 AM -
floatable regions bug
By gedw99 in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 17 Jun 2007, 2:21 PM -
Toggle between two regions
By MacPrawn in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 29 Mar 2007, 3:44 AM


Reply With Quote
