2014-06-13 4 views

답변

2

공간을 사용해야 할 때 나는 "\u00a0"을 사용합니다.

예.

createContent : function(oController) { 
    var content = []; 

    content.push(new sap.ui.commons.TextField({ 
     value : "Field1" 
    })); 
    content.push(new sap.ui.commons.TextView({ 
     text : "\u00a0" 
    })); 
    content.push(new sap.ui.commons.TextField({ 
     value : "Field2" 
    })); 
    content.push(new sap.ui.commons.TextField({ 
     value : "Field3" 
    })); 
    return content; 
} 

는 제 1 및 제 2는

+0

그 정말로 작동 하나의 공백으로 구분되는 세 가지 TextField의를 생성합니다. 공간을 위해 @herrlock –

+0

에게 감사합니다. 괜찮습니다. 휴식을 위해서 ?? –

+0

휴식을 위해 sap.ui.commons.layout.VerticalLayout을 시도해야합니다. – herrlock

관련 문제