네비바의 아이템 텍스트 내부 좌우간격을 지정하는 API이다.
Parameters | Type | Description |
---|---|---|
nLeftMargin | short | 아이템 텍스트 내부간격(왼쪽) |
nRightMargin | short | 아이템 텍스트 내부간격(오른쪽) |
Type | Description |
---|---|
void | 없음 |
*간격이 -1인 경우, 적용안함
function setitemtextmargin_on_mouseup(objInst)
{
navi01.setitemtextmargin(10, -1); // 왼쪽 마진 10
navi01.setitemtexthorzalign(0); // 문자열 왼쪽 정렬
}