ScriptUI panel border style

New Here ,
Jun 29, 2020

Copy link to clipboard

Copied

    w = new Window ('dialog');
    w.grp1 = w.add ('group');
     w.grp1.add('panel', [0,0,100,100], 'None', {borderStyle:'none'});
     w.grp1.add('panel', [0,0,100,100], 'Gray', {borderStyle:'gray'});
     w.grp1.add('panel', [0,0,100,100], 'Black', {borderStyle:'black'});
     w.grp1.add('panel', [0,0,100,100], 'White', {borderStyle:'white'});
    w.grp2 = w.add ('group');
     w.grp2.add('panel', [0,0,100,100], 'Etched', {borderStyle:'etched'});
     w.grp2.add('panel', [0,0,100,100], 'Sunken', {borderStyle:'sunken'});
     w.grp2.add('panel', [0,0,100,100], 'Raised', {borderStyle:'raised'});

I followed documentation to change different border styles for panels . But it doesn't work  in After Effects cc2020. Does any one know why? Thanks

panelStyle.PNG

 

TOPICS
Error or problem, Scripting

Views

89

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

ScriptUI panel border style

New Here ,
Jun 29, 2020

Copy link to clipboard

Copied

    w = new Window ('dialog');
    w.grp1 = w.add ('group');
     w.grp1.add('panel', [0,0,100,100], 'None', {borderStyle:'none'});
     w.grp1.add('panel', [0,0,100,100], 'Gray', {borderStyle:'gray'});
     w.grp1.add('panel', [0,0,100,100], 'Black', {borderStyle:'black'});
     w.grp1.add('panel', [0,0,100,100], 'White', {borderStyle:'white'});
    w.grp2 = w.add ('group');
     w.grp2.add('panel', [0,0,100,100], 'Etched', {borderStyle:'etched'});
     w.grp2.add('panel', [0,0,100,100], 'Sunken', {borderStyle:'sunken'});
     w.grp2.add('panel', [0,0,100,100], 'Raised', {borderStyle:'raised'});

I followed documentation to change different border styles for panels . But it doesn't work  in After Effects cc2020. Does any one know why? Thanks

panelStyle.PNG

 

TOPICS
Error or problem, Scripting

Views

90

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 29, 2020 0
Alex5C3C LATEST
New Here ,
Nov 12, 2020

Copy link to clipboard

Copied

Yes, true. Doesn't work. 
In After Effects CC 2018 as well. 
It sems works only in After Effects CC 2014 and below. 
Does anybody know how to fix it or when Adobe fix it? 
Thanks

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 12, 2020 0