Changeset 12498
- Timestamp:
- 02/18/08 13:33:51 (11 months ago)
- Location:
- dijit/trunk
- Files:
-
- 2 modified
-
layout/BorderContainer.js (modified) (2 diffs)
-
themes/dijit.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/layout/BorderContainer.js
r12497 r12498 65 65 if(region){ 66 66 dojo.addClass(child.domNode, "dijitBorderContainerPane"); 67 child.domNode.style.position = "absolute"; //FIXME: for some reason, setting this in CSS isn't good enough?68 67 69 68 var ltr = dojo._isBodyLtr(); … … 272 271 don't do that. See #3399, #2678, #3624 and #2955, #1988 273 272 */ 273 274 var resizeList = {}; 275 if(changedRegion){ 276 resizeList[changedRegion] = resizeList.center = true; 277 if(/top|bottom/.test(changedRegion) && this.design != "sidebar"){ 278 resizeList.left = resizeList.right = true; 279 }else if(/left|right/.test(changedRegion) && this.design == "sidebar"){ 280 resizeList.top = resizeList.bottom = true; 281 } 282 } 283 274 284 dojo.forEach(this.getChildren(), function(child){ 275 //PERF: don't have to resize children if(changedRegion) 276 if(child.resize){ 285 if(child.resize && (!changedRegion || child.region in resizeList)){ 277 286 // console.log(this.id, ": resizing child id=" + child.id + " (region=" + child.region + "), style before resize is " + 278 287 // "{ t: " + child.domNode.style.top + -
dijit/trunk/themes/dijit.css
r12497 r12498 634 634 } 635 635 636 .dijitBorderContainerPane { 637 position:absolute; 638 } 639 636 640 /* SplitContainer 637 641