src/aria/widgets/container/Splitter.js
function (element, orientation) {
            if (element.style && element.color) {
                if (orientation == "V") {
                    return element.leftWidth + element.rightWidth;
                } else if (orientation == "H") {
                    return element.topWidth + element.bottomWidth;
                }
            }
            return 0;
        }
function (element, orientation) {
            if (element.style && element.color) {
                if (orientation == "V") {
                    return element.leftWidth + element.rightWidth;
                } else if (orientation == "H") {
                    return element.topWidth + element.bottomWidth;
                }
            }
            return 0;
        }
function ( element , orientation ) { if ( element . style && element . color ) { if ( orientation == "V" ) { return element . leftWidth + element . rightWidth ; } else if ( orientation == "H" ) { return element . topWidth + element . bottomWidth ; } } return 0 ; }
calculate the border size of an element
@param {aria.widgets.CfgBeans:BorderCfg}
@param {String} H, V
@return {Number} border size
calculate the border size of an element