Why is that function not working? Try to increase the value of the line-height on all rectangles with the class name 'arbeit'. It is working with the height property, but not for line-height. Any suggestions?
var lineHeightXS = 50;
var hypeSceneElm = document.getElementById(hypeDocument.currentSceneId());
var searchResultElms = hypeSceneElm.getElementsByClassName('arbeit');
for (var i = 0; i < searchResultElms.length; i++)
{
currentElm = searchResultElms[i];
hypeDocument.setElementProperty(currentElm,'line-height', lineHeightXS + 'px');
}
var lineHeightXS = 200;
var hypeSceneElm = document.getElementById(hypeDocument.currentSceneId());
var searchResultElms = hypeSceneElm.getElementsByClassName('arbeit');
for (var i = 0; i < searchResultElms.length; i++)
{
currentElm = searchResultElms[i];
// hypeDocument.setElementProperty(currentElm,'line-height', lineHeightXS + 'px');