autoW = contentW === XUI_Attr_AUTO;\r
autoH = contentH === XUI_Attr_AUTO;\r
detectionPhase = autoW || autoH;\r
- gapY = XUI_AbstractUINode_calcValue( attrs[ data.supportAttrs.gapY.No ], contentH );\r
- childW = XUI_AbstractUINode_calcValue( attrs[ data.supportAttrs.childWidth.No ], contentW );\r
- childH = XUI_AbstractUINode_calcValue( attrs[ data.supportAttrs.childHeight.No ], contentH );\r
+ gapY = XUI_AbstractUINode_calcValue( attrs[ data.usableAttrs.gapY.No ], contentH );\r
+ childW = XUI_AbstractUINode_calcValue( attrs[ data.usableAttrs.childWidth.No ], contentW );\r
+ childH = XUI_AbstractUINode_calcValue( attrs[ data.usableAttrs.childHeight.No ], contentH );\r
_x = data.contentL;\r
_y = 0; //data.contentT;\r
\r
node.calculate( detectionPhase, 0, _y, contentW, childH );\r
_y += node.boxHeight + gapY;\r
//console.dir( node );\r
- // 概算のみ\r
+ // 概算のみ, 子要素の最大幅を調べる _w\r
if( autoW ){\r
if( node.boxWidth !== XUI_Attr_AUTO ){\r
w = node.boxWidth;\r
} else\r
- if( node.minBoxWidth !== XUI_Attr_AUTO ){\r
- w = node.minBoxWidth;\r
+ if( node.boxWidthMin !== XUI_Attr_AUTO ){\r
+ w = node.boxWidthMin;\r
minFlag = true;\r
} else {\r
w = 0;\r
};\r
_y -= gapY;\r
} else {\r
- _y = data.minContentHeight !== XUI_Attr_AUTO ? data.minContentHeight : 0;\r
+ _y = data.contentHeightMin !== XUI_Attr_AUTO ? data.contentHeightMin : 0;\r
};\r
\r
if( detectionPhase ){\r
var supports;\r
\r
if( !XUI_VBox ){\r
- supports = XUI_Attr_createAttrDef( XUI_Box.prototype.supportAttrs, XUI_Layout_Vertical.overrideAttrsForSelf );\r
+ supports = XUI_Attr_createAttrDef( XUI_Box.prototype.usableAttrs, XUI_Layout_Vertical.overrideAttrsForSelf );\r
\r
XUI_VBox = XUI_Box.inherits(\r
{\r
layout : XUI_Layout_Vertical,\r
- supportAttrs : supports,\r
+ usableAttrs : supports,\r
attrClass : XUI_Attr_preset( XUI_Box.prototype.attrClass, supports, {\r
gapY : '0.2em',\r
childWidth : '100%'\r