This content has been marked as final.
Show 4 replies
-
1. Re: UI text hidden in CC
Sajeev Sridharan Oct 29, 2015 9:57 PM (in response to BEGINNER_X)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 this line also, not working fine var checkbox1 = myGroup1.add ("checkbox", [10,0,500, 20], " 01. Check the ratio, artwork & live area sizes against job ticket and slug information"); var checkbox2 = myGroup1.add ("checkbox", [10,0,500, 20], " 02. Check images are linked"); var checkbox3 = myGroup1.add ("checkbox", [10,0,500, 20], " 03. Visually check the progression of KV/Model/CP images"); var checkbox4 = myGroup1.add ("checkbox", [10,0,500, 20], " 04. Visually check the progression of other elements like Logo and Bottle"); var checkbox5 = myGroup1.add ("checkbox", [10,0,500, 20], " 05. Check the 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
-
2. Re: UI text hidden in CC
Harbs. Oct 30, 2015 4:23 AM (in response to Sajeev Sridharan)Based on your screenshot, it looks like the leading space is not accounted for when the layout manager measures the text width. Interesting...
-
3. Re: UI text hidden in CC
Peter Kahrel Nov 1, 2015 5:55 AM (in response to Harbs.)That's right. Before CC there wasn't enough space between checkboxes and their labels, which you could fix by adding one or more leading spaces. From CC there is enough space, and if you didn't remove those leading spaces you ge to see the problem in the screen shot.
There's no need to set the size of the controls, by the way. Just remove the leading spaces.
P.
-
4. Re: UI text hidden in CC
BEGINNER_X Nov 1, 2015 10:23 PM (in response to Peter Kahrel)Hi Legends,
Sorry for the delayed response. Just back from my native village.
Warm thanks to Sajeev, Harbs and PKahrel.