src/sap.ui.ux3/src/sap/ui/ux3/ExactList.js
function(oList) {
		if (oList._bCollapsed) {
			var iWidth = oList.$("cntnt").height() - 50/*Space for Header Action Buttons - Maybe provide theme parameter in future*/;
			var $txt = oList.$("head-txt");
			$txt.css("width", iWidth + "px");
		}
		var aSubLists = oList.getSubLists();
		for (var i = 0; i < aSubLists.length; i++) {
			refreshCollapseHeaderTextWidth(aSubLists[i]);
		}
	}
function(oList) {
		if (oList._bCollapsed) {
			var iWidth = oList.$("cntnt").height() - 50/*Space for Header Action Buttons - Maybe provide theme parameter in future*/;
			var $txt = oList.$("head-txt");
			$txt.css("width", iWidth + "px");
		}
		var aSubLists = oList.getSubLists();
		for (var i = 0; i < aSubLists.length; i++) {
			refreshCollapseHeaderTextWidth(aSubLists[i]);
		}
	}
function ( oList ) { if ( oList . _bCollapsed ) { var iWidth = oList . $ ( "cntnt" ) . height ( ) - 50 /*Space for Header Action Buttons - Maybe provide theme parameter in future*/ ; var $txt = oList . $ ( "head-txt" ) ; $txt . css ( "width" , iWidth + "px" ) ; } var aSubLists = oList . getSubLists ( ) ; for ( var i = 0 ; i < aSubLists . length ; i ++ ) { refreshCollapseHeaderTextWidth ( aSubLists [ i ] ) ; } }
Refreshs the header text width of all collapsed lists
Refreshs the header text width of all collapsed lists