UI text hidden in CC


hi all,

problem: text hidden in ui.

please loot @ first line of check box "slug information"

 

i wrote below coding,

working fine in cs6 not in cc.

 

code below:

 

 var clickcancel = 0; var w = new window ("dialog"); w.alignchildren = "left"; var mygroup1 = w.add('panel', undefined, 'xxxx check list points'); mygroup1.alignchildren = "left"; mygroup1.preferredsize = [600,150];    //without line also, not working fine var checkbox1 = mygroup1.add ("checkbox", undefined, "  01.  check ratio, artwork & live area sizes against job ticket , slug information"); var checkbox2 = mygroup1.add ("checkbox", undefined, "  02.  check images linked"); var checkbox3 = mygroup1.add ("checkbox", undefined, "  03.  visually check progression of kv/model/cp images"); var checkbox4 = mygroup1.add ("checkbox", undefined, "  04.  visually check progression of other elements logo , bottle"); var checkbox5 = mygroup1.add ("checkbox", undefined, "  05.  check placement of language tagging");   var mybuttons = w.add ("group"); var export = mybuttons.add("button", undefined, "export pdf", {name: "ok"}); var can = mybuttons.add("button", undefined, "cancel", {name: "exit"});  export.onclick = function (){w.close();}  can.onclick = function (){clickcancel = 1;w.close();}  w.show();  if(clickcancel == 1){exit();}       

 

output screenshot:

 

screen shot 2015-10-30 @ 04.09.33.png

 

thanks in advance

siraj

try this,

 

 var clickcancel = 0;   var w = new window ("dialog");   w.alignchildren = "left";   var mygroup1 = w.add('panel', undefined, 'xxxx check list points');   mygroup1.alignchildren = "left";   //mygroup1.preferredsize = [600,150];    //without line also, not working fine   var checkbox1 = mygroup1.add ("checkbox", [10,0,500, 20], "  01.  check ratio, artwork & live area sizes against job ticket , slug information");   var checkbox2 = mygroup1.add ("checkbox", [10,0,500, 20], "  02.  check images linked");   var checkbox3 = mygroup1.add ("checkbox", [10,0,500, 20], "  03.  visually check progression of kv/model/cp images");   var checkbox4 = mygroup1.add ("checkbox", [10,0,500, 20], "  04.  visually check progression of other elements logo , bottle");   var checkbox5 = mygroup1.add ("checkbox", [10,0,500, 20], "  05.  check placement of language tagging");         var mybuttons = w.add ("group");   var export = mybuttons.add("button", undefined, "export pdf", {name: "ok"});   var can = mybuttons.add("button", undefined, "cancel", {name: "exit"});      export.onclick = function (){w.close();}      can.onclick = function (){clickcancel = 1;w.close();}      w.show();      if(clickcancel == 1){exit();}      

 

 

vandy



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

after effects warning: unable to create drawing surface

Maximum number of authorizations reached!