src/sap.ui.dt/src/sap/ui/dt/ContextMenuControl.js
function (bWithArrow) {
			var oPopover = {};
			var bCompact = this._bCompactMode;
			var fArrowHeight = this._getArrowHeight(bCompact);
			var iBaseFontsize = this._getBaseFontSize();
			this._iFirstVisibleButtonIndex = null;

			oPopover.height = parseInt(jQuery("#" + this.getPopover().getId()).css("height")) || 40;
			oPopover.width = parseInt(jQuery("#" + this.getPopover().getId()).css("width")) || 80;

			if (bWithArrow) {
				var iArr = iBaseFontsize * fArrowHeight;
				if (iArr) {
					oPopover.height += iArr;
					oPopover.width += iArr;
				}
			}

			return oPopover;
		}
function (bWithArrow) {
			var oPopover = {};
			var bCompact = this._bCompactMode;
			var fArrowHeight = this._getArrowHeight(bCompact);
			var iBaseFontsize = this._getBaseFontSize();
			this._iFirstVisibleButtonIndex = null;

			oPopover.height = parseInt(jQuery("#" + this.getPopover().getId()).css("height")) || 40;
			oPopover.width = parseInt(jQuery("#" + this.getPopover().getId()).css("width")) || 80;

			if (bWithArrow) {
				var iArr = iBaseFontsize * fArrowHeight;
				if (iArr) {
					oPopover.height += iArr;
					oPopover.width += iArr;
				}
			}

			return oPopover;
		}
function ( bWithArrow ) { var oPopover = { } ; var bCompact = this . _bCompactMode ; var fArrowHeight = this . _getArrowHeight ( bCompact ) ; var iBaseFontsize = this . _getBaseFontSize ( ) ; this . _iFirstVisibleButtonIndex = null ; oPopover . height = parseInt ( jQuery ( "#" + this . getPopover ( ) . getId ( ) ) . css ( "height" ) ) || 40 ; oPopover . width = parseInt ( jQuery ( "#" + this . getPopover ( ) . getId ( ) ) . css ( "width" ) ) || 80 ; if ( bWithArrow ) { var iArr = iBaseFontsize * fArrowHeight ; if ( iArr ) { oPopover . height += iArr ; oPopover . width += iArr ; } } return oPopover ; }
Gets the dimensions of the ContextMenu's popover
@param {boolean} bWithArrow whether the arrow width should be added
@return {object} the dimensions of the ContextMenu's popover
Gets the dimensions of the ContextMenu s popover